Neovim Keyboard Shortcuts
Neovim keyboard shortcut reference covering 51 bindings for Windows, Mac & Linux. Commonly searched bindings include Enter Insert mode, Append after cursor, and Open line below. 51 of 51 shortcuts are verified against official Neovim documentation, each with a linked source when available. Search by action name, filter by category, look up what a key combination does, print a cheat sheet, or practice with flashcards.
Official Neovim documentation
Editing
| Action | Description | Windows | Mac | Verified | Source |
| Delete character |
Delete character |
X |
X |
Yes |
Source |
| Delete line |
Delete line |
D+D |
D+D |
Yes |
Source |
| Yank line |
Yank line |
Y+Y |
Y+Y |
Yes |
Source |
| Put after cursor |
Put after cursor |
P |
P |
Yes |
Source |
| Undo |
Undo |
U |
U |
Yes |
Source |
| Redo |
Redo |
Ctrl+R |
Ctrl+R |
Yes |
Source |
| Substitute character |
Substitute character |
R |
R |
Yes |
Source |
| Change word |
Change word |
C+W |
C+W |
Yes |
Source |
| Join lines |
Join lines |
Shift+J |
Shift+J |
Yes |
Source |
| Indent line |
Indent line |
> |
> |
Yes |
Source |
| Dedent line |
Dedent line |
< |
< |
Yes |
Source |
| Toggle case |
Toggle case |
~ |
~ |
Yes |
Source |
Ex
| Action | Description | Windows | Mac | Verified | Source |
| Write (save) file |
Write (save) file |
:+W+Enter |
:+W+Enter |
Yes |
Source |
| Quit |
Quit |
:+Q+Enter |
:+Q+Enter |
Yes |
Source |
| Write and quit |
Write and quit |
:+W+Q+Enter |
:+W+Q+Enter |
Yes |
Source |
| Force quit |
Force quit |
:+Q+!+Enter |
:+Q+!+Enter |
Yes |
Source |
| Open file explorer (:Ex) |
Open file explorer (:Ex) |
:+E+X+Enter |
:+E+X+Enter |
Yes |
Source |
Help
| Action | Description | Windows | Mac | Verified | Source |
| Show help |
Show help |
:+H+Enter |
:+H+Enter |
Yes |
Source |
Insert
| Action | Description | Windows | Mac | Verified | Source |
| Enter Insert mode |
Enter Insert mode |
I |
I |
Yes |
Source |
| Append after cursor |
Append after cursor |
A |
A |
Yes |
Source |
| Open line below |
Open line below |
O |
O |
Yes |
Source |
| Open line above |
Open line above |
Shift+O |
Shift+O |
Yes |
Source |
| Exit Insert mode |
Exit Insert mode |
Escape |
Escape |
Yes |
Source |
Marks
| Action | Description | Windows | Mac | Verified | Source |
| Mark position |
Mark position |
M |
M |
Yes |
Source |
| Jump to mark |
Jump to mark |
' |
' |
Yes |
Source |
Motion
| Action | Description | Windows | Mac | Verified | Source |
| Go to line |
Go to line |
Shift+G |
Shift+G |
Yes |
Source |
| Go to first line |
Go to first line |
G+G |
G+G |
Yes |
Source |
| Beginning of line |
Beginning of line |
0 |
0 |
Yes |
Source |
| End of line |
End of line |
$ |
$ |
Yes |
Source |
| Word forward |
Word forward |
W |
W |
Yes |
Source |
| Word backward |
Word backward |
B |
B |
Yes |
Source |
| Page down |
Page down |
Ctrl+F |
Ctrl+F |
Yes |
Source |
| Page up |
Page up |
Ctrl+B |
Ctrl+B |
Yes |
Source |
| Half page down |
Half page down |
Ctrl+D |
Ctrl+D |
Yes |
Source |
| Half page up |
Half page up |
Ctrl+U |
Ctrl+U |
Yes |
Source |
| Normal-mode command count |
Normal-mode command count |
1 |
1 |
Yes |
Source |
Search
| Action | Description | Windows | Mac | Verified | Source |
| Search forward |
Search forward |
/ |
/ |
Yes |
Source |
| Search backward |
Search backward |
? |
? |
Yes |
Source |
| Next search match |
Next search match |
N |
N |
Yes |
Source |
| Previous search match |
Previous search match |
Shift+N |
Shift+N |
Yes |
Source |
Visual
| Action | Description | Windows | Mac | Verified | Source |
| Visual mode |
Visual mode |
V |
V |
Yes |
Source |
| Visual line mode |
Visual line mode |
Shift+V |
Shift+V |
Yes |
Source |
| Visual block mode |
Visual block mode |
Ctrl+V |
Ctrl+V |
Yes |
Source |
Windows
| Action | Description | Windows | Mac | Verified | Source |
| Split window horizontally |
Split window horizontally |
Ctrl+W+then+S |
Ctrl+W+then+S |
Yes |
Source |
| Split window vertically |
Split window vertically |
Ctrl+W+then+V |
Ctrl+W+then+V |
Yes |
Source |
| Close window |
Close window |
Ctrl+W+then+Q |
Ctrl+W+then+Q |
Yes |
Source |
| Next window |
Next window |
Ctrl+W+then+W |
Ctrl+W+then+W |
Yes |
Source |
| Move to left window |
Move to left window |
Ctrl+W+then+H |
Ctrl+W+then+H |
Yes |
Source |
| Move to right window |
Move to right window |
Ctrl+W+then+L |
Ctrl+W+then+L |
Yes |
Source |
| Move to above window |
Move to above window |
Ctrl+W+then+K |
Ctrl+W+then+K |
Yes |
Source |
| Move to below window |
Move to below window |
Ctrl+W+then+J |
Ctrl+W+then+J |
Yes |
Source |
← All apps on Shortcut Atlas