On 2012-10-25, Ben Fritz wrote:
> On Thursday, October 25, 2012 12:35:57 PM UTC-5, analogsix wrote:
> > :set softtabstop=#
> > also known as a soft tab (default is 0 which means it is a
> > disabled setting). However if a nonzero number is set that is
> > greater than :tabstop then <Tab>s and <Backspace>s in insert
> > mode will be the equivalent to inserting a number of hard <Tab>s
> > (as specified by :tabstop) as well as <space>s so that the total
> > number of spaces is equivalent to what was specified in
> > :softtabstop. Hence when softtabstop is
> >
>
> This option also affects autoindent. Autoindent always works in
> multiples of your 'shiftwidth' option.
Are you sure you meant autoindent? Autoindent doesn't care about
the value of 'shiftwidth', it simply uses the indentation of the
previous line.
Regards,
Gary
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Thursday, October 25, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment