- Two modes, insert and command
- Basic movement: h, j, k, and l
- Word movement: w, e, b
- Number powered movement, e.g. 5w
- Insert text repeatedly, e.g. 3iYes
- Find a character, f and F
- Go to matching parentheses, %
- Go to start/end of line, 0 and $
- Find word under cursor, * and #
- Goto line, g and G
- Search, /text with n and N
- Insert new line, o and O
- Removing a character, x and X
- Replacing letter under cursor, r
- Deleting, d
- Repetition with .
- Visual mode, v
- Visual block mode, ctrl-v
Created
March 16, 2013 17:42
-
-
Save cmalven/5177450 to your computer and use it in GitHub Desktop.
Basic Vim Commands
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment