Showing posts with label vim. Show all posts
Showing posts with label vim. Show all posts

9.10.10

"#" indent in VIM

http://stackoverflow.com/questions/191201/indenting-comments-to-match-code-in-vim



set cindent
set cinkeys=0{,0},!^F,o,O,e " default is: 0{,0},0),:,0#,!^F,o,O,e

24.3.09

VIM resources

Great vim resources file here:

http://phuzz.org/vimrc.html

And my simple small .vimrc:

set autoindent
set tabstop=4
set shiftwidth=4
set ls=2
set nobackup
syntax on
set hlsearch
set number
set title
set ttyfast