Problems with tabs in VIM

0 views
Skip to first unread message

MeTroFun

unread,
Jun 5, 2009, 1:31:18 PM6/5/09
to vim_use
i've set "ts = 4"...thats OK...works like a charm...But...when i press
"Enter" while coding, thats incorrectly changes my
positions...example...

function(){

}

Gary Johnson

unread,
Jun 5, 2009, 7:59:33 PM6/5/09
to vim_use

I don't see the problem in that example. However, I suspect that
the problem is that you are setting 'ts' to set the indentation
increment whereas you should instead be setting 'sw'.

:help 'sw'
:help C-indenting

HTH,
Gary


Reply all
Reply to author
Forward
0 new messages