-
Notifications
You must be signed in to change notification settings - Fork 83
Insert mode
You can use C-r, but it will use regular vim registers, while C-v will use the VM yanked content, if present.
Autocomplete and abbreviations should work without problems, snippets will not.
Left | one char left |
Right | one char right |
Up | one line up |
Down | one line down |
C-Right | same as normal w
|
C-Left | same as normal b
|
C-S-Right | same as normal W
|
C-S-Left | same as normal B
|
C-Down | same as normal e
|
C-Up | same as normal ge
|
C-S-Down | same as normal E
|
C-S-Up | same as normal gE
|
In insert mode you can use the following special keys:
C-d | same as Del |
C-a | go to indent level (^ ) |
C-e | go to end of line ($ ) |
C-w | works for all cursors |
C-v | paste VM registry content |
Of special note:
-
Tab
will insert a literal tab character ifnoexpandtab
is set, but won't convert previous space characters in the same line, as vim does. -
C-v
will paste the unnamed VM register, if not empty: this means that you can yank a set of regions, then paste them in insert mode withC-v
. -
C-q
is not remapped so you can use it to insert special characters -
C-r
will paste regurlar vim registers, not VM registers. -
C-w
will stop (by default) at the beginning of the same line. To allow it to keep deleting in previous lines, set:let g:VM_icw_keeps_line = 0