Multiple Cursors
NeoVintageous provides multiple cursor support in normal mode and visual mode. This feature allows you to work with multiple cursors simultaneously, making repetitive editing tasks more efficient.
Normal and Visual Mode Commands
Command | Description |
---|---|
<C-n> , gh | Start multiple cursor. |
<C-n> , n , j | Add next match. |
<C-x> , q , l | Skip next match. |
<C-p> , N , k , Q | Remove current match. |
<M-n> , \\A | Select all matches. |
<Esc> , J , <Tab> | Quit and enter normal mode. |
v , <Tab> | Enter normal mode. |
gH | Select all search occurrences (/ , ? , * , # ). |
When you have entered multiple cursor mode, you use visual commands such as c
, I
, x
, and y
, all work without any issues.
You can also go to Normal mode by pressing v
and use normal commands there.
At any time, you can press <Esc>
to exit back to regular Vim. To change the behaviour of <Esc>
, see the multi cursor exit from visual mode setting.
NOTE
Match case sensitivity is controlled by the Sublime Text find widget. Menu → Find → Find... OR Enter insert mode and press CTRL-f. Toggle the Case sensitive "Aa" button.
TIP
Leverage visual block mode to create vertical multiple cursors
CTRL-v
Enter visual block mode.3j
Extend visual block 3 lines down.CTRL-n
Enter multiple cursor mode.
Settings
vintageous_enable_multiple_cursors
- Type:
boolean
- Default:
true
Enable multiple cursor plugin.
vintageous_multi_cursor_exit_from_visual_mode
- Type:
boolean
- Default:
false
When set to true
, then pressing a quit key in visual mode will quit and delete all existing cursors, skipping normal mode with multiple cursors.
Status
Status | Command | Description |
---|---|---|
✅ | <C-n> , gh | Start multiple cursor. |
✅ | <C-n> , n , j | Add next match. |
✅ | <C-x> , n , q , l | Skip next match. |
✅ | <C-p> , N , Q , k | Remove current match. |
✅ | <M-n> , \\A | Select all matches. |
✅ | <Esc> , J , <Tab> | Quit or enter normal mode (default). |
✅ | v , <Tab> | Enter normal mode. |
✅ | gH | Select all search occurrences (/ , ? , * , # ). |
A
(select all matches) is deprecated, use \\A
instead.
Check out the roadmap for a detailed inventory of feature status.