I'm trying to mapp jj to escape. I'm getting an error below. Fix?
Asked
Active
Viewed 392 times
0
-
1Don’t be too lazy to write down the error message here and read the markdown help. I’ve copied the former into image alt and made image show immediately not after opening the URL. – ZyX Oct 20 '12 at 09:38
-
possible duplicate of [How do I remap escape when in Sublime Text vintage mode?](http://stackoverflow.com/questions/9620812/how-do-i-remap-escape-when-in-sublime-text-vintage-mode) – davidcondrey Sep 15 '14 at 02:44
2 Answers
2
I think you should place your configuration code in Default (OS).sublime-keymap
, not in Preferences.sublime-settings
.
You can find it in Sublime Text 2/Preferences/Key Bindings - User
menu.

Riccardo Marotti
- 20,218
- 7
- 70
- 53
0
Open Sublime Text Keybindings Settings Default (Windows).sublime-keymap
Go to Preferences -> Key Bindings - User.
Inside your Default (OS).sublime-keymap file, add your remap..
[
{ "keys": ["j", "j"], "command": "exit_insert_mode",
"context":
[
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operand": false }
]
}
]

davidcondrey
- 34,416
- 17
- 114
- 136