For those who are writing codes in C/C++ using Vim should find this .vimrc configuration file useful . The script should be self explanatory . If you have any question, I will try to answer. or :help should help you out. Put the following lines to your .vimrc and save .
set incsearch “when you start searching ESC /[string] it will start matching as soon as you type
set scrolloff=3 ” there would be atleast 3 lines from the top/bottom of the screen as you edit
set wildmode=longest,list ” ESC :![filename] TAB should give you a list of matched files
set ts=2 ” TAB would be of two char length
set expandtab “expand TAB char to spaces
set ai ” set auto indent
set cindent shiftwidth=4 “enable C style indent
set ignorecase
set smartcase ” together they help you search string ignoring case if you type in lower case
colo evening ” if you like a colorful editing experience
Hey deka, happened to read your blog. Found the current post very helpful. Keep up the good work!!
-gaurav
Somehow i missed the point. Probably lost in translation
Anyway … nice blog to visit.
cheers, Diffidence!!!