Skip to content

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 cursor
    • a : append after cursor
  • Text delete
    • x : delete character to the right of the cursor
    • X : delete character to the left of the cursor