First of all, I'm using sublime text2.
Sublime to open Vim mode:
In preference-Setting-user, add
1 " ignored_packages " 23 ]
You can use some of the basic functions of vim.
To modify ESC:
ESC super is super inconvenient to press, so we can change the ESC.
If you change ESC to shift+space, in preference-A, browse Packages, find the vintage file at the bottom, and then find Default,sublime-keymap in it, add it at the end
1 ,2{"Keys": ["Shift+space"],"Command":"Exit_insert_mode", 3 "Context": 4 [ 5{"Key":"Setting.command_mode","operand":false }, 6{"Key":"Setting.is_widget","operand":false } 7 ] 8 }, 9 Ten{"Keys": ["Shift+space"],"Command":"Hide_auto_complete","Context": One [ A{"Key":"auto_complete_visible","operator":"Equal","operand":true } - ] - }, the -{"Keys": ["Shift+space"],"Command":"vi_cancel_current_action","Context": - [ -{"Key":"Setting.command_mode" }, +{"Key":"Selection_empty","operator":"Equal","operand":true,"Match_all":false }, -{"Key":"vi_has_input_state" } + ] A}
Do not forget the beginning of the comma. This shift+space also has the function of ESC.
However I was the CAPS lock this changed to ESC, but sublime seemingly no way to change, so I directly to the computer's CAPS lock to get rid of ...
Windows Registry Editor Version5.00[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Keyboard Layout]"Scancode Map"=hex:xx,xx,xx,xx,xx,xx,xx,xx, Geneva,xx,xx,xx, on,xx, 3a,xx,xx,xx,xx,00
Create a new text document and then copy the above code and save as Xxx.reg. Then open that document and restart the computer to =.=.
Sublime mode to open vim and change ESC