You are viewing an old revision of this page.
.vimrc is the file that is executed by default by the text editor Vim upon startup. It is generally a good idea to put a .vimrc in your home directory with some useful setting in it.
- There are a whole host of useful settings, but a few common ones follow
- set nocompatible " Make Vim behave less like vi and more like Vim - this makes vim a lot easier to user
syntax on " Syntax highlight whatever language you are editing, Vim supports many languages
set incsearch " Enable incremental searching by default
set showmatch " Highlight the matches of the last search