Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 401 Bytes

vim_editor.md

File metadata and controls

15 lines (12 loc) · 401 Bytes

VIM

  1. Check if VIM is installed
  2. $ vi
  3. Exit out of it : :q - Normal mode
  4. Exit without saving changes :q! - Normal mode
  5. Write changes in a file : :w - Normal mode
  6. Write changes and quit : :wq - Normal mode

VIM Modes

  1. Normal Mode - When we start vim
    • : - When we execute a command.
  2. Insert Mode - i to enable it
    • To leave insert mode press escapse key.