Unix VIM Editor - Tutorial

Unix vim editor can be useful for file processing and editing.

Escape Mode Commands:

  • A -> will append the upcoming text at the end of the file
  • i -> Will change the vim editor into insert mode to enter content.
  • o -> Insert new line (below)
  • O-> Insert new line (above)
  • w -> move by word (forward)
  • b -> move by word (backward)
  • ) -> move by line (forward)
  • ( -> move by line (backward)
  • } -> move by paragraph (forward)
  • { -> move by paragraph (backward)
  • p -> paste
  • u -> undo
  • ctrl+r -> redo
  • To jump to a particular line.

:linenumber

  • To go the last line: G

Comments are closed.