Vim on your Own
Vim Commands
From:
- Terminal - {vim filename} to open a file
- normal mode - (i) to enter insert edit mode for text editing
- normal mode - (:) to enter command mode for quiting and writing
- normal mode - (x) to delete a character
- normal mode - (dd) to delete a line of text
- normal mode - (u) to undo
- normal mode - (ctrl +r) to redo and undo
- command mode - (q) to quit vim
- command mode - (w) to write to your file and save
- command mode - (wq) to write and quite vim
- command mode - (q!) to quit vim without saving
- command mode - (set number) to see line number on your file