Posts | About

Why You Should Remap CapsLock to Ctrl

vimvideocheat-sheet

Posted on 2025-02-01 by Matt.

Links

Cheat Sheet

Insert Mode

See also Neovim Docs - Insert Mode - Special Keys or :h ins-special-keys

Escape / go back to Normal mode.

<C-[>

Delete the current/previous word.

<C-W>

Delete to the start of the line.

<C-U>

Paste from register a, staying in Insert mode.

<C-R>a

Autocomplete

# next
<C-N>
# prev
<C-P>

Normal Mode

See also Neovim Docs - normal mode

Increment / decrement first number after cursor on line

<C-A>
<C-X>

For Window commands, see Vim Buffers, Windows, and Tabs Cheat Sheet

Go backwards / forwards through the jumplist. See Neovim Docs - jump-motions docs or :h jump-motions

<C-O>
<C-I>

Enter Visual Block Mode

<C-V>

Shell

Step backwards and forwards through your history.

<C-P>
<C-N>

Search backwards and forwards for some-text through your history. See also:

<C-R>some-text
<C-S>some-text

Jump to start, end of line

<C-A>
<C-E>

Delete current/previous word.

<C-U>

Delete to the start of the line.

<C-U>