Skip to content

vi

Course: 5 tools for senior engineers (Code without your mouse) - chapter 2

vi is a terminal based editor

  1. h → left, l → right , j → down, k → up, (हंसते लोग लगातार रास्ते जाम देख कर उदास होते हैं)
  2. 0, $
  3. e, b
  4. gg, G
  5. p ⇒ paste
  1. h → left, l → right , j → down, k → up
  2. 0, $
  3. e, b
  4. gg, G
  5. y ⇒ copy
  6. d ⇒ cut

Type away!

  1. Exiting out of vi
  2. :q
  3. :q!
  4. :wq!
  5. Undo redo
  6. u - undo
  7. ctrl + r - redo
  8. Search
  9. / + what_to_search
  10. :line_number - go to line