Saturday, October 31, 2009

Java indneting in Vim

edit the .vimrc file:

autocmd BufReadPost *.java set si
autocmd BufReadPost *.java set cino+=j1

or simply
set si
set cino+=j1

NOTE: cino is the abbr for cinoptions

No comments: