Wednesday, September 8, 2010

Re: shifting paragraphs by one space

On 09/08/10 10:33, Sven Guckes wrote:
> a shift is done according to the current
> value of the option "shiftwidth" ("sw").
>
> so for a shift by only *one* spaces
> requires the value to be set to '1':
>
> :set sw=1

Also somewhat dependent on your 'ts' and 'et' settings. If you have

:set sw=1 ts=1 noet

then it will put one <tab> in, instead of one space. But then
that's your own dumb fault for asking for it, if you didn't want
it ;-) Setting 'et' instead of 'noet' will cure that.

-tim

--
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

No comments: