Skip to content

↑↓ moveEnter openEsc close

Neovim keyboard shortcuts

Neovim 0.11 · 56 shortcuts · checked Nov 2026 · Source: Neovim contributors docs

Neovim is a modern fork of Vim with a built-in language server client and terminal. It keeps Vim's keys and adds default maps for code actions, rename, diagnostics and comments.

Most used Neovim keyboard shortcuts

The Neovim shortcuts worth learning first. The full list follows, grouped by task.

56 shortcuts

Small screen: your system's keys only. Pick another system in the tabs above.

Modes

8 shortcuts
ActionMacWindowsLinux
Insert before the cursorNormal modeIII
Append after the cursorNormal modeAAA
Open a new line below and insertNormal modeOOO
Return to Normal modeInsert or Visual modeEscorCtrl[EscorCtrl[EscorCtrl[
Start Visual modeNormal modeVVV
Start Visual Line modeNormal modeShiftVShiftVShiftV
Start Visual Block modeNormal modeCtrlVCtrlVCtrlV
Leave Terminal modeTerminal modeCtrl\,CtrlNCtrl\,CtrlNCtrl\,CtrlN

Moving

14 shortcuts
ActionMacWindowsLinux
Go to the first lineNormal modeG,GG,GG,G
Go to the last lineNormal modeShiftGShiftGShiftG
Next wordNormal modeWWW
Previous wordNormal modeBBB
Start of the lineNormal mode000
End of the lineNormal modeShift4Shift4Shift4
Scroll half a page downNormal modeCtrlDCtrlDCtrlD
Scroll half a page upNormal modeCtrlUCtrlUCtrlU
Jump backNormal modeCtrlOCtrlOCtrlO
Jump forwardNormal modeCtrlICtrlICtrlI
Next quickfix itemNormal mode],Q],Q],Q
Previous quickfix itemNormal mode[,Q[,Q[,Q
Next bufferNormal mode],B],B],B
Previous bufferNormal mode[,B[,B[,B

Editing

12 shortcuts
ActionMacWindowsLinux
UndoNormal modeUUU
RedoNormal modeCtrlRCtrlRCtrlR
Delete (cut) the lineNormal modeD,DD,DD,D
Copy (yank) the lineNormal modeY,YY,YY,Y
Copy (yank) to the end of the lineNormal modeShiftYShiftYShiftY
Paste after the cursorNormal modePPP
Repeat the last changeNormal mode...
Repeat the last :s with its flagsNormal modeShift7Shift7Shift7
Replay the last recorded macroNormal modeShiftQShiftQShiftQ
Comment or uncomment the lineNormal modeG,C,CG,C,CG,C,C
Comment or uncomment the selectionVisual modeG,CG,CG,C
Complete the wordInsert modeCtrlNCtrlNCtrlN

Language server

11 shortcuts
ActionMacWindowsLinux
Show documentation for the symbolNormal mode, language server attachedShiftKShiftKShiftK
Rename the symbolNormal mode, language server attachedG,R,NG,R,NG,R,N
Code actionsNormal mode, language server attachedG,R,AG,R,AG,R,A
List referencesNormal mode, language server attachedG,R,RG,R,RG,R,R
List implementationsNormal mode, language server attachedG,R,IG,R,IG,R,I
List symbols in the fileNormal mode, language server attachedG,ShiftOG,ShiftOG,ShiftO
Go to the definitionNormal mode, language server attachedCtrl]Ctrl]Ctrl]
Show the signatureInsert mode, language server attachedCtrlSCtrlSCtrlS
Next diagnosticNormal mode],D],D],D
Previous diagnosticNormal mode[,D[,D[,D
Show the diagnostic under the cursorNormal modeCtrlW,DCtrlW,DCtrlW,D
ActionMacWindowsLinux
Search forwardNormal mode///
Next matchNormal modeNNN
Search for the word under the cursorNormal modeShift8Shift8Shift8
Clear search highlighting and redrawNormal modeCtrlLCtrlLCtrlL
Save the fileNormal modeShift;,W,EnterShift;,W,EnterShift;,W,Enter
Save and quitNormal modeShiftZ,ShiftZShiftZ,ShiftZShiftZ,ShiftZ
Quit without savingNormal modeShiftZ,ShiftQShiftZ,ShiftQShiftZ,ShiftQ
Split the window verticallyNormal modeCtrlW,VCtrlW,VCtrlW,V
Split the window horizontallyNormal modeCtrlW,SCtrlW,SCtrlW,S
Go to the next windowNormal modeCtrlW,WCtrlW,WCtrlW,W
Close the windowNormal modeCtrlW,QCtrlW,QCtrlW,Q
Show the key map: which keys Neovim uses mostDarker orange = used by more shortcuts

Neovim's own default keys: comments, LSP and diagnostics

Neovim adds default mappings that plain Vim does not have. The LSP keys work once a language server is attached to the buffer.

Comment a line
gcc comments or uncomments the current line and gc a selection or motion (gcap comments a paragraph). Built in since Neovim 0.10.

Vim motions and edits in Neovim

Save, quit and split windows in Neovim

Neovim keyboard shortcuts: questions

Does Neovim use the same keys as Vim?
Yes. Every Vim motion and command works, and Neovim adds default maps of its own, such as gcc to comment a line, K for documentation and grn to rename a symbol through the language server.
How do I leave the terminal in Neovim?
Press Ctrl+\ then Ctrl+N to go from Terminal mode back to Normal mode.
How do I see the keys a Neovim config or plugin added?
Type :map (or :nmap for Normal mode) to list mappings, and :verbose nmap <key> to see which file set one. Distributions such as LazyVim show their keys in a popup after you press the leader key (usually Space).

These are the default key bindings in Neovim 0.11, as published by Neovim contributors. Shortcuts that need an extension, an add-in or a changed keymap are left out. Where two combinations do the same thing, both are shown.

Single-system lists: Neovim keyboard shortcuts for Mac, Neovim keyboard shortcuts for Windows, Neovim keyboard shortcuts for Linux.

Each shortcut has its own page with the keys for every system, related shortcuts and the same action in other apps. The printable cheat sheet fits the whole list on one or two pages.