Show Menu
Cheatography

Neovim Cheat Sheet (DRAFT) by

Neovim just the basic 1 page cheatsheet

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Navigation

normal
hjkl
beginning of word
b
end of word
e
jump top of file
gg
jump end of file
G
jump to last insert
gi
page down
ctrl-d
page up
crtl-u
line 42
42gg

Edit

delete char
x
indent right
>>
indent left
<<

copy/paste

copy word
yw
copy line
yy
paste below
p
paste above
P
cut line
dd
cut word
dw
cut word before cursor
db
deletes until end of line, from cursor
D

Undo

undo
u
redo
ctrl-r
 

Get to insert mode

Insert before cursor
i
Insert after cursor
a
Insert before line
I
Insert after line
A
new line below the cursor
o

Command line

enter command
:
search unicorns
/unicorns
next find
n
previous find
N
replace bad with good
%s/bad­/good/g

Command line

enter command
:
search unicorns
/unicorns
next find
n
previous find
N
replace bad with good
%s/bad­/good/g
 

Select (View) mode

enter select mode
v
select entire line
V
move around
hjkl keys
delete
d
copy
y
replace
P
indent it to the right
>
indent it to the left
<