<dot>vimrc file for vim users

2009-10-01 7 min read Linux Vim Tips

Example vimrc file below:

let g:VIM_CUSTOM = &#8221;/home/amitag/.vim_custom/&#8221;

&#8221; Don&#8217;t use vi compatibility; I want all the new features in Vim

set nocompatible

&#8221; Version 6.0-specific stuff

if version >= 600

syntax enable

filetype on

filetype plugin on

filetype indent on

else

syntax on

endif

set showfulltag &#8221; Get function usage help automatically

set showcmd &#8221; Show current vim command in status bar

set showmatch &#8221; Show matching parentheses/brackets

set showmode &#8221; Show current vim mode

Continue reading