nvim Cheat Sheet

nvim Cheat Sheets

Movement and Interaction

1
2
3
4
5
6
7
8
9
dd  # Cut a line
j   # move down a line
k   # move up a line
yy  # copy a line
2yy # copy 2 lines
yiw # yank word
Y   # copy to end of line
p   # Paste after cursor
P   # Paste before cursor

Functions

1
2
3
4
5
6
7
8
:Files # fzf file finder    
/term  # search for term
    n  # search forward
    N  # search backward
:2,7d  # delete lines 2-7
:w     # save file
:wq    # save and quit
:q!    # quit without save
Built with Hugo
Theme Stack designed by Jimmy