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