Skip to content

↑↓ moveEnter openEsc close

Neovim keyboard shortcuts cheat sheet

Every default Neovim shortcut on one printable page. Choose your system, then print or save as PDF.

Neovim keyboard shortcuts

Windows · version 0.11 · 56 shortcuts

Hotkeypediahotkeypedia.com

Modes

  • Insert before the cursorIII
  • Append after the cursorAAA
  • Open a new line below and insertOOO
  • Return to Normal modeEscorCtrl[EscorCtrl[EscorCtrl[
  • Start Visual modeVVV
  • Start Visual Line modeShiftVShiftVShiftV
  • Start Visual Block modeCtrlVCtrlVCtrlV
  • Leave Terminal modeCtrl\,CtrlNCtrl\,CtrlNCtrl\,CtrlN

Moving

  • Go to the first lineG,GG,GG,G
  • Go to the last lineShiftGShiftGShiftG
  • Next wordWWW
  • Previous wordBBB
  • Start of the line000
  • End of the lineShift4Shift4Shift4
  • Scroll half a page downCtrlDCtrlDCtrlD
  • Scroll half a page upCtrlUCtrlUCtrlU
  • Jump backCtrlOCtrlOCtrlO
  • Jump forwardCtrlICtrlICtrlI
  • Next quickfix item],Q],Q],Q
  • Previous quickfix item[,Q[,Q[,Q
  • Next buffer],B],B],B
  • Previous buffer[,B[,B[,B

Editing

  • UndoUUU
  • RedoCtrlRCtrlRCtrlR
  • Delete (cut) the lineD,DD,DD,D
  • Copy (yank) the lineY,YY,YY,Y
  • Copy (yank) to the end of the lineShiftYShiftYShiftY
  • Paste after the cursorPPP
  • Repeat the last change...
  • Repeat the last :s with its flagsShift7Shift7Shift7
  • Replay the last recorded macroShiftQShiftQShiftQ
  • Comment or uncomment the lineG,C,CG,C,CG,C,C
  • Comment or uncomment the selectionG,CG,CG,C
  • Complete the wordCtrlNCtrlNCtrlN

Language server

  • Show documentation for the symbolShiftKShiftKShiftK
  • Rename the symbolG,R,NG,R,NG,R,N
  • Code actionsG,R,AG,R,AG,R,A
  • List referencesG,R,RG,R,RG,R,R
  • List implementationsG,R,IG,R,IG,R,I
  • List symbols in the fileG,ShiftOG,ShiftOG,ShiftO
  • Go to the definitionCtrl]Ctrl]Ctrl]
  • Show the signatureCtrlSCtrlSCtrlS
  • Next diagnostic],D],D],D
  • Previous diagnostic[,D[,D[,D
  • Show the diagnostic under the cursorCtrlW,DCtrlW,DCtrlW,D

Search, files and windows

  • Search forward///
  • Next matchNNN
  • Search for the word under the cursorShift8Shift8Shift8
  • Clear search highlighting and redrawCtrlLCtrlLCtrlL
  • Save the fileShift;,W,EnterShift;,W,EnterShift;,W,Enter
  • Save and quitShiftZ,ShiftZShiftZ,ShiftZShiftZ,ShiftZ
  • Quit without savingShiftZ,ShiftQShiftZ,ShiftQShiftZ,ShiftQ
  • Split the window verticallyCtrlW,VCtrlW,VCtrlW,V
  • Split the window horizontallyCtrlW,SCtrlW,SCtrlW,S
  • Go to the next windowCtrlW,WCtrlW,WCtrlW,W
  • Close the windowCtrlW,QCtrlW,QCtrlW,Q
Default bindings for Neovim, version 0.11, checked against Neovim contributors' documentation.hotkeypedia.com/neovim/cheat-sheet/

Every default Neovim shortcut in version 0.11, in the same groups as the full list. Pick a system, then print. The sheet is sized to fill a portrait A4 or Letter page (two pages for the longest apps); choose "Save as PDF" in the print dialog for a file. Rows showing a dash have no default binding on that system.