Vim keyboard shortcuts for Windows
73 default Vim shortcuts on Windows, grouped by task.
73 shortcuts
Keys:
Modes
11 shortcuts| Action | Keys |
|---|---|
| Insert before the cursorNormal mode | I |
| Append after the cursorNormal mode | A |
| Insert at the start of the lineNormal mode | ShiftI |
| Append at the end of the lineNormal mode | ShiftA |
| Open a new line below and insertNormal mode | O |
| Open a new line above and insertNormal mode | ShiftO |
| Return to Normal modeInsert or Visual mode | EscorCtrl[ |
| Start Visual mode (select characters)Normal mode | V |
| Start Visual Line mode (select lines)Normal mode | ShiftV |
| Start Visual Block mode (select a column)Normal mode | CtrlV |
| Start Replace mode (overtype)Normal mode | ShiftR |
Moving
25 shortcuts| Action | Keys |
|---|---|
| Move leftNormal mode | H |
| Move downNormal mode | J |
| Move upNormal mode | K |
| Move rightNormal mode | L |
| Jump to the start of the next wordNormal mode | W |
| Jump back to the start of the wordNormal mode | B |
| Jump to the end of the wordNormal mode | E |
| Go to the start of the lineNormal mode | 0 |
| Go to the first non-blank characterNormal mode | Shift6 |
| Go to the end of the lineNormal mode | Shift4 |
| Go to the first lineNormal mode | G,G |
| Go to the last lineNormal mode | ShiftG |
| Jump to the matching bracketNormal mode | Shift5 |
| Jump to the next blank lineNormal mode | Shift] |
| Jump to the previous blank lineNormal mode | Shift[ |
| Cursor to the top of the screenNormal mode | ShiftH |
| Cursor to the middle of the screenNormal mode | ShiftM |
| Cursor to the bottom of the screenNormal mode | ShiftL |
| Scroll a page downNormal mode | CtrlF |
| Scroll a page upNormal mode | CtrlB |
| Scroll half a page downNormal mode | CtrlD |
| Scroll half a page upNormal mode | CtrlU |
| Center the cursor line on screenNormal mode | Z,Z |
| Jump back to the previous positionNormal mode | CtrlO |
| Jump forward againNormal mode | CtrlI |
Editing
22 shortcuts| Action | Keys |
|---|---|
| UndoNormal mode | U |
| RedoNormal mode | CtrlR |
| Delete the character under the cursorNormal mode | X |
| Delete (cut) the lineNormal mode | D,D |
| Delete to the end of the lineNormal mode | ShiftD |
| Delete to the start of the next wordNormal mode | D,W |
| Change (replace) the wordNormal mode | C,W |
| Change the whole lineNormal mode | C,C |
| Change to the end of the lineNormal mode | ShiftC |
| Delete the character and insertNormal mode | S |
| Copy (yank) the lineNormal mode | Y,Y |
| Copy (yank) to the next wordNormal mode | Y,W |
| Paste after the cursorNormal mode | P |
| Paste before the cursorNormal mode | ShiftP |
| Join the line below to this oneNormal mode | ShiftJ |
| Repeat the last changeNormal mode | . |
| Indent the lineNormal mode | Shift.,Shift. |
| Outdent the lineNormal mode | Shift,,Shift, |
| Switch the case of the characterNormal mode | Shift` |
| Add one to the number under the cursorNormal mode | CtrlA |
| Subtract one from the number under the cursorNormal mode | CtrlX |
| Complete the word from the fileInsert mode | CtrlN |
Search
6 shortcuts| Action | Keys |
|---|---|
| Search forwardNormal mode | / |
| Search backwardNormal mode | Shift/ |
| Next matchNormal mode | N |
| Previous matchNormal mode | ShiftN |
| Search for the word under the cursorNormal mode | Shift8 |
| Search backward for the word under the cursorNormal mode | Shift3 |
Files and windows
9 shortcuts| Action | Keys |
|---|---|
| Save the fileNormal mode | Shift;,W,Enter |
| QuitNormal mode | Shift;,Q,Enter |
| Save and quitNormal mode | ShiftZ,ShiftZ |
| Quit without savingNormal mode | ShiftZ,ShiftQ |
| Split the window horizontallyNormal mode | CtrlW,S |
| Split the window verticallyNormal mode | CtrlW,V |
| Go to the next windowNormal mode | CtrlW,W |
| Close the windowNormal mode | CtrlW,Q |
| Make all windows the same sizeNormal mode | CtrlW,= |
No shortcuts match. Try fewer words, the key names only, or search every app.
These are the default Vim key bindings on Windows, from Bram Moolenaar and the Vim community's official list for version 9.1. Shortcuts that exist only on another system are left out here; the all-systems view shows every binding side by side.
Other systems: Vim shortcuts for Mac, Vim shortcuts for Linux. Or print the Vim cheat sheet.