| Mode | Keybind | Action |
|---|
| normal | SPACE + cc | NERDCommenterComment |
| normal | SPACE + c + SPACE | NERDCommenterToggle |
| normal | SPACE + cm | NERDCommenterMinimal |
| normal | SPACE + cn | NERDCommenterNested |
| normal | SPACE + c$ | NERDCommenterToEOL |
| normal | SPACE + ci | NERDCommenterInvert |
| normal | SPACE + cs | NERDCommenterSexy |
| normal | SPACE + cy | NERDCommenterYank |
| normal | SPACE + cA | NERDCommenterAppend |
| normal | SPACE + cl | NERDCommenterAlignLeft |
| normal | SPACE + cb | NERDCommenterAlignBoth |
| normal | SPACE + cu | NERDCommenterUncomment |
| normal | SPACE + ca | NERDCommenterAltDelims |
Search
| Mode | Keybind | Action |
|---|
| normal | SPACE + sh | [S]earch [H]elp |
| normal | SPACE + sk | [S]earch [K]eymaps |
| normal | SPACE + sf | [S]earch [F]iles |
| normal | SPACE + ss | [S]earch [S]elect Telescope |
| normal | SPACE + sw | [S]earch current [W]ord |
| normal | SPACE + sg | [S]earch by [G]rep |
| normal | SPACE + sd | [S]earch [D]iagnostics |
| normal | SPACE + sr | [S]earch [R]esume |
| normal | SPACE + s. | [S]earch Recent Files ("." for repeat) |
| normal | SPACE + SPACE | [ ] Find existing buffers |
| normal | SPACE + / | [/] Fuzzily search in current buffer |
| normal | SPACE + s/ | [S]earch [/] in Open Files |
| normal | SPACE + sn | [S]earch [N]eovim files |
| normal | Esc | nohlsearch |
Movement
| Mode | Keybind | Action |
|---|
| normal | h | Move cursor left |
| normal | l | Move cursor right |
| normal | j | Move cursor down |
| normal | k | Move cursor up |
| normal | Ctrl-H | Move focus to the left window |
| normal | Ctrl-L | Move focus to the right window |
| normal | Ctrl-J | Move focus to the lower window |
| normal | Ctrl-K | Move focus to the upper window |
Editing
| Mode | Keybind | Action |
|---|
| normal | sa | Add surrounding |
| normal | sd | Delete surrounding |
| normal | sr | Replace surrounding |
| normal | sf | Find right surrounding |
| normal | sF | Find left surrounding |
| normal | sh | Highlight surrounding |
| normal | Shift-o | Add empty line below cursor |
| normal | Shift-O | Add empty line above cursor |
| normal | SPACE + f | Format buffer |
| insert | Arrows | Traverse completion menu |
| insert | Ctrl-Y | Select completion |
Diagnostics
| Mode | Keybind | Action |
|---|
| normal | ]d | Jump to next diagnostic in current buffer |
| normal | ]D | Jump to last diagnostic in current buffer |
| normal | [d | Jump to previous diagnostic in current buffer |
| normal | [D | Jump to first diagnostic in current buffer |
| normal | SPACE + q | Open diagnostic [Q]uickfix list |
| normal | Ctrl-W + d | Show diagnostics under cursor |
Splits and tabs
| Mode | Keybind | Action |
|---|
| command | :sp | Split window horizontally |
| command | :vsp | Split window vertically |
| command | :tabe | Create a new tab |
| command | :tabc | Close the current tab |
| command | :tabn | Go to next tab |
| command | :tabp | Go to previous tab |
Reply to this post by email ↪