Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts

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