Repeat the last change in Neovim
In Neovim, press . on Mac, Windows, Linux. Works when: normal mode.
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause
`1234567890-=deleteInsHomePgUp
TabQWERTYUIOP[]\DelEndPgDn
CapsASDFGHJKL;'return
ShiftZXCVBNM,./Shift↑
fnctrloptcmdcmdopt←↓→
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause
`1234567890-=BkspInsHomePgUp
TabQWERTYUIOP[]\DelEndPgDn
CapsASDFGHJKL;'Enter
ShiftZXCVBNM,./Shift↑
CtrlWinAltAltWinMenuCtrl←↓→
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause
`1234567890-=BkspInsHomePgUp
TabQWERTYUIOP[]\DelEndPgDn
CapsASDFGHJKL;'Enter
ShiftZXCVBNM,./Shift↑
CtrlSuperAltAltSuperMenuCtrl←↓→
See it happen Press the shortcut above, or
More Neovim shortcuts: editing
| Action | Mac | Windows | Linux |
|---|---|---|---|
| Undo | U | U | U |
| Redo | CtrlR | CtrlR | CtrlR |
| Delete (cut) the line | D,D | D,D | D,D |
| Copy (yank) the line | Y,Y | Y,Y | Y,Y |
| Copy (yank) to the end of the line | ShiftY | ShiftY | ShiftY |
| Paste after the cursor | P | P | P |
| Repeat the last :s with its flags | Shift7 | Shift7 | Shift7 |
| Replay the last recorded macro | ShiftQ | ShiftQ | ShiftQ |
| Comment or uncomment the line | G,C,C | G,C,C | G,C,C |
| Comment or uncomment the selection | G,C | G,C | G,C |