Sublime开启Vim模式

Alan

Alan

Maintainer of blog

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:

  1. Select the Preferences ▶ Settings menu item
  2. Edit the ignored_packages setting, changing it from:
"ignored_packages": ["Vintage"]

to

"ignored_packages": []
  1. 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

原文 Vintage Mode