Vim indenting multiline var declarations for javascript -
i trying have vim indent code this
var foo, bar, baz;
but vim autoindenting (with =) like
var foo, bar, baz;
anyone know how alter this?
add
vnoremap <tab> >gv vnoremap <s-tab> <gv
to .vimrc , , select these lines , force 'tab' or 'shift+tab' backward
javascript vim indentation
No comments:
Post a Comment