When editor is launched, it is COMMAND mode. When you invoke insert command (i), it is in INSERTION/EDIT mode.
Command Mode:
- Quit = :q
- Save and Exit = :wq
- Undo and Exit = :q!
- Delete all content = :1, $d
Edit Mode
- Insert before cursor (i), Insert before line (I)
- Go to the end of line = $
- Go to the top (H), middle (M), end (L) of the page.
Deleting
- Delete current line (dd)