VIM basics
- Exiting:
:q,- modified/force:
:q! - write changes + quit
:wq
- modified/force:
- Modes:
- Insert (
i)escback to normal mode+ppaste from clipboard
- Command (:)
- Visual (v)
- Insert (
- Deleting
- character:
x - line
dd
- character:
- Undo:
u - Saving: :
w - Commnads
- Go to line 2
:2 - running shell command
:!<command>
- Go to line 2
- Settings
- show linenumbers
:set number
- show linenumbers