Vim Notes

Here is my current .vimrc file. You use a .vimrc file to configure vim at startup. On most Linux machines vi is aliased as vim if vim is installed.

:set nocp                " set no-compatible mode - puts in vim mode (instead of vi mode)
:syntax on               " turn on syntax highlighting
:colo default            " set the color scheme for syntax highlighting,
                         " you can cycle through color schemes with <TAB>
:set bs=2                " backspace & delete anything in INSERT mode
:set ai                  " set auto-indenation
:set ruler               " show the line and column number of the cursor position
:set ts=3                " set the number of spaces per tab
:set et                  " expand tabs as spaces
:set ignorecase          " ignore case when doing search/replace

Some Commands