Neovim

Neovim Shortcuts

Neovim keyboard shortcuts for modal editing, navigation, LSP and terminal workflow.

Source: Official documentation · Updated 2026-06

Shortcuts
6
Categories

Cheat sheet guide

Neovim shortcuts worth learning first

This page collects 60 searchable Neovim keyboard shortcuts across 6 categories. Start with the shortcuts for Normal Mode — Motion, Normal Mode — Editing, Insert Mode, Visual Mode, then print the cheat sheet once the important ones are worth keeping nearby.

  • Move left / down / up / rightHJKL
  • UndoU
  • Enter Insert mode (before)I
  • Enter Visual mode (char)V
  • Search forward/
  • Go to definitionGD

Normal Mode — Motion

12 shortcuts
Move left / down / up / right
HJKL
Word forward
W
Word backward
B
End of word
E
Start of line
0
First non-blank of line
^
End of line
$
Go to first line
GG
Go to last line
G
Go to line N
NG
Jump back
CtrlO
Jump forward
CtrlI

Normal Mode — Editing

13 shortcuts
Undo
U
Redo
CtrlR
Delete line
DD
Delete character
X
Yank (copy) line
YY
Paste after cursor
P
Paste before cursor
ShiftP
Duplicate line
YYPP
Replace character
R{char}
Change to end of line
C$
Join lines
ShiftJ
Indent line right
>>
Indent line left
<<

Insert Mode

8 shortcuts
Enter Insert mode (before)
I
Enter Insert mode (after)
A
Insert at start of line
ShiftI
Append at end of line
ShiftA
New line below
O
New line above
ShiftO
Return to Normal mode
EscCtrl[
Delete word backward
CtrlW

Visual Mode

8 shortcuts
Enter Visual mode (char)
V
Enter Visual mode (line)
ShiftV
Enter Visual block mode
CtrlV
Yank selection
Y
Delete selection
D
Indent selection right
>
Indent selection left
<
Toggle case
~

Search & Commands

11 shortcuts
Search forward
/
Search backward
?
Next match
N
Previous match
ShiftN
Search word under cursor
*
Command mode
:
Save file
:W
Quit
:Q
Save and quit
:WQZZ
Quit without saving
:Q!
Global replace
:%S/old/new/G

LSP & Code (built-in)

8 shortcuts
Go to definition
GD
Go to declaration
GD(uppercase)
Show hover documentation
K
Show signature help
CtrlK
List references
GR
Next diagnostic
]D
Previous diagnostic
[D
Code action
<Leader>CA

Frequently asked questions

What is the fastest way to find Neovim shortcuts on this page?

Use the search box or press /, then type an action such as move left / down / up / right.

Can I print this Neovim shortcut cheat sheet?

Yes. Use the Print / PDF button or your browser print command to save a compact cheat sheet.

Does this page include Windows and Mac shortcuts for Neovim?

Yes. Use the OS tabs to switch between Windows and macOS shortcuts. For example, Move left / down / up / right is H / J / K / L on Windows and H / J / K / L on macOS where available.

See also

No shortcuts match your search.