Link Search Menu Expand Document

Editing your ~/.vimrc

Your ~/.vimrc file, stored in your home directory, is a place where you can customize the behavior of Vim.

Line Numbers

These commands will be entered into your ~/.vimrc file.

  • Adding numbers: set nu
  • Adding syntax highlighting: syntax on