Vim Linux Popular Shortcut Set
Keyboard shortcuts for Vim on Linux. Covers motions, insert mode, editing, registers, visual mode, macros, windows, and search and replace.
Up-down motions
- Go to a line (default is the last line)
- Shift+G
Pattern searches
- Search forwardType the pattern, then press Enter.
- /
Inserting text
- Insert text before the cursor
- I
Deleting text
- Delete the text covered by a motionPress d, then a motion, e.g. dw deletes to the next word.
- D
Copying and moving text
- Put a register after the cursor
- P
Changing text
- Change the text covered by a motionPress c, then a motion, e.g. cw changes to the next word.
- C
Repeating commands
- Repeat the last change
- .
Undo/Redo commands
- Undo the last change
- U
- Redo the last undone change
- Ctrl+R
Writing and quitting
- Write the current file and exit
- ":wq"
Need more than shortcuts?
Visit the Vim app page for an overview and helpful links.
Want to suggest a new app, report a bug, or get help? Email us at info@hkeys.app.
For anything else or just a quick hello, write to us at info@hkeys.app.