Differences between version 2 and predecessor to the previous major change of .vimrc.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Friday, December 6, 2002 8:53:58 pm | by SamJansen | Revert |
Older page: | version 1 | Last edited on Friday, December 6, 2002 8:51:12 pm | by SamJansen | Revert |
@@ -1,7 +1,8 @@
.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 use
+ 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