Skip to content

Insert mode

mg979 edited this page Dec 9, 2018 · 4 revisions

You can use C-r, but it won't use VM special registries right now, while C-v will use the VM yanked content, if present.

Autocomplete should work without problems. Snippets are a different matter, and they don't seem to work (tried with Ultisnips).

Please consider that the plugin is not perfect (especially empty lines can occasionally cause some trouble).

Arrow keys

Arrow keys can be used to move, but only in the same line. If you need to move up or down, exit insert mode and use j/k.

Left one char left
Right one char right
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

Special keys

In insert mode you can use the following special keys:

BS backspace
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

Clone this wiki locally