Skip to content

↑↓ moveEnter openEsc close

Repeat the last :s with its flags in Neovim

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

In Neovim, press Shift+7 on Mac, Windows, Linux. Works when: normal mode.

More Neovim shortcuts: editing

ActionMacWindowsLinux
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...
Replay the last recorded macroShiftQShiftQShiftQ
Comment or uncomment the lineG,C,CG,C,CG,C,C
Comment or uncomment the selectionG,CG,CG,C

All 12 in editing · All 56 Neovim shortcuts