-
Notifications
You must be signed in to change notification settings - Fork 114
Select Mode
tbrixen edited this page Feb 26, 2015
·
22 revisions
Select mode is a non-standard mode that exposes a distinctive feature of Sublime Text: multiple selections.
Select mode in Vintageous is not the same as select mode in Vim, and should probably get a new name to avoid confusion.
Key Sequence | Command |
---|---|
gh | Enter select mode (from normal or visual mode) |
j | Add selection |
k | Remove selection |
l | Skip current selection |
A | Select all instances |
i | Enter visual mode (preserving selections) |
J | Clear multiple selections and enter normal mode |
gH | After a search with / or ? , select all matches. |
Select mode is unlike other modes in Vintageous.
Once you've created visual selections in select mode, you must return to insert mode by pressing i in order to edit text. Once in insert mode, you can switch to normal mode, etc.
If you press Esc while in select mode, you will return to normal mode, but multiple carets won't be destroyed. If you press Esc a second time, you will be left with one single caret in normal mode.
Actions performed in select mode cannot be repeated with .. Or perhaps they can, I'm not sure.