Sublime开启Vim模式
· One min read
Vintage is a vi mode editing package for Sublime Text. It allows you to combine vi's command mode with Sublime Text's features, including multiple selections.
Vintage mode is developed in the open, and patches are more than welcome. If you'd like to contribute, details are in the GitHub repo.
Enabling Vintage
Vintage is disabled by default, via the ignored_packages setting. If you remove "Vintage" from the list of ignored packages, you'll be able to edit with vi keys:
- Select the
Preferences ▶ Settingsmenu item - Edit the
ignored_packagessetting, changing it from:
"ignored_packages": ["Vintage"]
to
"ignored_packages": []
- Vintage mode is now enabled – you'll see "INSERT MODE" listed in the status bar
Vintage starts in insert mode by default. This can be changed by adding the following setting to your user settings:
"vintage_start_in_command_mode": true