On Wed, 4 Apr 2007 10:23:49 -0400, "Gene Kwiecinski"
<[EMAIL PROTECTED]> wrote:

> >>i know with >> i can move a selection to the right by one
> >>indent, how can i move a selection just one space ?
> 
> >Well, if you want to move by "one indent", you can
> >     :set sw=1 ts=1 et
> >which will then make ">>" and "<<" indent by one space (not one 
> >tab) or, you can
> 
> I might've just forgotten to set sw=2, but I noticed that when I was
> editing a file and didn't want nested tabs being tabbed over to pretty
> much the right side of the screen, one little '>>' would tab it over 4
> tabs (for ts=2) instead of just 1.  Thought that was odd.

You must have had shiftwidth at its default of 8. The indent used by
<< and >> is affected only by the setting of shiftwidth and doesn't
depend on the tabstop in any way. (The TYPE of whitespace added by >>
depends on the tabstop option, but the amount of indentation isn't
affected by it.)

-- 
Matthew Winn

Reply via email to