Neovim Windows Shortcuts
| Action | Windows Shortcut |
|---|---|
| Normal Mode — Motion | |
| Move left / down / up / right | HJKL |
| Word forward | W |
| Word backward | B |
| End of word | E |
| Start of line | 0 |
| First non-blank of line | ^ |
| End of line | $ |
| Go to first line | GG |
| Go to last line | G |
| Go to line N | NG |
| Jump back | CtrlO |
| Jump forward | CtrlI |
| Normal Mode — Editing | |
| Undo | U |
| Redo | CtrlR |
| Delete line | DD |
| Delete character | X |
| Yank (copy) line | YY |
| Paste after cursor | P |
| Paste before cursor | ShiftP |
| Duplicate line | YYPP |
| Replace character | R{char} |
| Change to end of line | C$ |
| Join lines | ShiftJ |
| Indent line right | >> |
| Indent line left | << |
| Insert Mode | |
| Enter Insert mode (before) | I |
| Enter Insert mode (after) | A |
| Insert at start of line | ShiftI |
| Append at end of line | ShiftA |
| New line below | O |
| New line above | ShiftO |
| Return to Normal mode | EscCtrl[ |
| Delete word backward | CtrlW |
| Visual Mode | |
| Enter Visual mode (char) | V |
| Enter Visual mode (line) | ShiftV |
| Enter Visual block mode | CtrlV |
| Yank selection | Y |
| Delete selection | D |
| Indent selection right | > |
| Indent selection left | < |
| Toggle case | ~ |
| Search & Commands | |
| Search forward | / |
| Search backward | ? |
| Next match | N |
| Previous match | ShiftN |
| Search word under cursor | * |
| Command mode | : |
| Save file | :W |
| Quit | :Q |
| Save and quit | :WQZZ |
| Quit without saving | :Q! |
| Global replace | :%S/old/new/G |
| LSP & Code (built-in) | |
| Go to definition | GD |
| Go to declaration | GD(uppercase) |
| Show hover documentation | K |
| Show signature help | CtrlK |
| List references | GR |
| Next diagnostic | ]D |
| Previous diagnostic | [D |
| Code action | <Leader>CA |