# A problem about generating [] automatically

I have using the Wolfram Mathematica for two years.And I know the Mathematica has the operation Alt + ] that can generate []. However,when I use this shortcut,it cannot generate a [].

So my question is:

1.How to generate the [] rightly?

2.In other IDE like InteljIDEA,when I key the symbol [,it will generate the  [] automatically. Is it possible to do that in MMA front-end?

## Edit

As @xzczd said,the Alt +) will generate

In adition,it is not convenient to use the Alt ) and Alt +} because I must key three keyboard Shift + Alt +]

• With regards to point 1, you need to type Alt + ] to generate the []. You're typing the wrong bracket. – dr.blochwave Aug 17 '14 at 9:02
• @blochwave According to the rest part of OP's question, I think it's a typo and correct it. As to OP's first question, what's your input method editor (IME)? In fact I just found my IME for Chinese character input will break this shortcut and after I turned it off, the shortcut works well. – xzczd Aug 17 '14 at 9:08
• Well, my last comment is only to the first question i.e. the generation of [], when you thought you pressed Alt + ) you actually pressed Alt + 0, which is another shortcut (that seems to be changed in v10? I'm still in v9 anyway.) And just as what you've noticed, to generate {} and () one needs to press 3 keys, which I personally don't feel it convenient, either. – xzczd Aug 17 '14 at 9:23
• Not an answer to the original question, but you can change keybindings as described here – sebhofer Aug 17 '14 at 17:25