My personal vim cheat sheet
My vim cheat sheet, including some of my own binds.
Command Mode
Standard binds
(write number before to repeat command)
j
up
k
down
h
left
l
right
{
up one block
}
down one block \
q+{LOWERCASE}
start macro recording where {LOWERCASE} is a letter that is the macro name
q
stop macro recording
@+{LOWERCASE}
run macro identified by {LOWERCASE}
{NR}@{LOWERCASE}
run macro identified by {LOWERCASE} {NR} amount of times
My own binds
SHIFT+H
switch to previous buffer
SHIFT+L
switch to next buffer
SPACE+E
Toggle nvimtree on/off
gd
Go to definition
Read other posts