Vi
Is a text editor Software used in Linux which can be tricky to use
Hotkeys¶
- Command mode:
ESC
, then all commands starts with:
:w
: save:x
: save and quit:q
: quit:q!
: quit and discard changes
- Text insert
i
: insert before cursora
: append after cursor
- Text delete
x
: delete character to the right of the cursorX
: delete character to the left of the cursor