Friday, November 11, 2011

my ~/.vimrc file

set hlsearch
set nu
set ignorecase
set expandtab
set shiftwidth=4
set softtabstop=4

if has ("autocmd")
    autocmd BufRead *.file set tw=150
    autocmd BufRead *.prvc set nobackup nowritebackup foldmethod=indent fdo=insert
    filetype plugin indent on
    au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
endif


No comments:

Post a Comment