AppNeovim › macOS

Neovim macOS Shortcuts

60 shortcuts · View all OS →

WindowsmacOSLinuxCompare all
ActionmacOS Shortcut
Normal Mode — Motion
Move left / down / up / rightH/J/K/L
Word forwardW
Word backwardB
End of wordE
Start of line0
First non-blank of line^
End of line$
Go to first lineGG
Go to last lineG
Go to line NNG
Jump backCtrl+O
Jump forwardCtrl+I
Normal Mode — Editing
UndoU
RedoCtrl+R
Delete lineDD
Delete characterX
Yank (copy) lineYY
Paste after cursorP
Paste before cursorShift+P
Duplicate lineYYPP
Replace characterR{char}
Change to end of lineC$
Join linesShift+J
Indent line right>>
Indent line left<<
Insert Mode
Enter Insert mode (before)I
Enter Insert mode (after)A
Insert at start of lineShift+I
Append at end of lineShift+A
New line belowO
New line aboveShift+O
Return to Normal modeEsc/Ctrl+[
Delete word backwardCtrl+W
Visual Mode
Enter Visual mode (char)V
Enter Visual mode (line)Shift+V
Enter Visual block modeCtrl+V
Yank selectionY
Delete selectionD
Indent selection right>
Indent selection left<
Toggle case~
Search & Commands
Search forward/
Search backward?
Next matchN
Previous matchShift+N
Search word under cursor*
Command mode:
Save file:W
Quit:Q
Save and quit:WQ/ZZ
Quit without saving:Q!
Global replace:%S/old/new/G
LSP & Code (built-in)
Go to definitionGD
Go to declarationGD(uppercase)
Show hover documentationK
Show signature helpCtrl+K
List referencesGR
Next diagnostic]D
Previous diagnostic[D
Code action<Leader>CA