Thursday, August 13, 2009

My .vimrc file for vim text editor

I tried a few big names editors but I tell you what for *nix console is nothing else like vi (new vi called vim) ... ok I admit perhaps emacs-nox but I don't use it.

In order to get a little from a lot of options of vim I'll show you my .vimrc file

set softtabstop=2
set shiftwidth=2
set expandtab
set cindent
set smartindent
set autoindent
syntax enable

This enables the indentation and puts spaces instead of tab characters into the file.

For more info see - the following