VIM cheat sheet

Registers

General syntax: "[letter][command]

:reg
display all registers
“+
system clipboard
“*
mouse clipboard
“0
yank register
“”
default register

Macros

q[letter]
record macro named letter
q
stop recording
@[letter]
access macro (run)

Windows

:vert sb N
open buffer N in vertical split
:split file
open file in horizontal split
:vsp file
open file in vertical split
CTRL+ww
toggle between windows

Jumps

CTRL+O
jump to pevious location
CTRL+I
jump to next location