Vintageex-master: Official address: https://github.com/SublimeText/VintageEx Baidu Cloud Link: http://pan.baidu.com/s/1ntIHh3r Password: 3NRW Recently used sublime Text2, and textmate than the interface to be more beautiful, and several platforms have a corresponding version, more unified.
Sublime support text editing using Vim mode, vim shortcut edit text is still very fast, two editors to merge a bit is also very good, choose Preferences->settings-default, at the bottom of the text there is a line
"Ignored_packages": ["vintage"]
, here Sublime the default to remove the support of vim, we just need to delete the "vintage" is good.
It's OK to try again in the edit box, but in vim I've mapped the ESC key to ' II ': IMAP ' II ', where IMAP is not supported. But we can define it in the vintage package, my machine is windows, the default packages is installed in the C:\Documents and Settings\zhengj1\application data\ Sublime the text 2\packages directory, locate the Vintage\default.sublime-keymap file, open it with a text editor, and add the following code:
{"Keys": ["I", "I"], "command": "Exit_insert_mode",
"Context":
[
{"Key": "Setting.command_mode", "operand": false},
{"Key": "Setting.is_widget", "operand": false}
]
},
{"Keys": ["I", "I"], "command": "Hide_auto_complete", "context":
[
{"Key": "Auto_complete_visible", "operator": "Equal", "operand": true}
]
},
{"Keys": ["I", "I"], "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"}
]
},
This keymap file can define their own habits of shortcut keys, interested in the study.
Vintage This plugin does not support command, want to support also need the next Vintageex package, some simple commands can be used.
Sublime Configuring VIM mode + Vintageex-master