GVIM is a very powerful editor. Proper configuration helps you to unleash its power. I normally use the following configuration file .gvimrc which is to be placed in your home directory:syntax on set nocin set nosi set autoindent set shiftwidth=2 set textwidth=75 set ic set hlsearch set columns=80 set lines=40 function Bracketsub() s/\</g s/>/\>/g endfunctionSome more options that may be useful
syntax highlighting nocin - no C indenting nosi - no smart indenting autoindent shiftwidth textwidth ic - ignore case hlsearch - search hightlighting