I can't write the open square bracket in Sublime Text 2 - How can I find out why?
Solution 1:
I had this issue too, and couldn't write [, ] and }, but with different packages. I'm using Danish keyboard layout, so AltGr+8
, AltGr+9
and AltGr+0
were the troubling keys for me.
My solution was to use Find in files to search for the keybinding files in all packages for the corresponding keybindings that was overriding my default keybindings to write brackets.
Preferences -> Browse packages
copy the path, return to SublimeText and press Ctrl + Shift + F
to search in files, and paste the path in the Where
field. In my case, I needed to search for alt+ctrl+8
, alt+ctrl+9
and alt+ctrl+0
and uncomment the lines which had the corresponding keybindings - if you still need to use the shortcuts, you can change them to another combination.
Works flawlessly. :)
Solution 2:
If like me you couldn't find any suspicious key binding (ctrl+alt+= for } on french keyboard), you can force it in the Preferences > Key bindings -- USER file.
[
{ "keys": ["ctrl+alt+="], "command": "insert", "args": {"characters": "}"} }
]