Sublime Configure vim mode + vintageex-master download address

Source: Internet
Author: User
Tags imap

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.