- vim your-filename-here (vim will open OR create file)
- DD (delete's the current line)
- :w (write file)
- :q (quit Vim)
- :wq (write/quit Vim)
- o (lets you insert text on a new line)
- i (lets you insert text on same line)
- x (deletes a character)
- A (moves you to the end of content)
- G (end of line, go into insert mode)
- escape (exits you from editing content mode)
- :e (new file)
- shift + v (selects text - you cant do this while in INSERT mode)
- d (cut highlighted text)
- P (paste before cursor)
- p (paste after cursor)
- /your-string (allows you to search for a string)
- CTRL + f (page down)
- CTRL + b (page up)
- n (next occurrence found)
- N (search from end to beginning)
- ? (search from the top to the top of the file)
- h (move character back)
- j (down to the next line)
- k (up one line)
- l (next character, advance)