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

        :set sw=1 ts=1 noet

and have it use tabs, but each tab displays as only a single space.

Or, you can use

        :s/^/ /

That 2nd one is better used over a range.

A couple ideas to hopefully get you towards what you want.

-tim



Reply via email to