Right now, my VIM editor tab indent has some unusual behaviour.
When I am in insert mode and press tab, the cursor indents about 3 spaces instead of a whole tab indent. I like this.
When I high-light a block of text, then press SHIFT
and >
simultaneously, the block of text indents an entire tab indent instead of 3 spaces behaviour like above. I do not like this.
How do I make the second action behave like the first action?
:set tabstop=3 shiftwidth=3
with an optionalexpandtab
ornoexpandtab
.shiftwidth
must be the same astabstop
or someone will be cursing your indents. – hhaamu Feb 13 '12 at 18:08