Adjusting TAB setting in vim

Bart Garst plug-discuss@lists.plug.phoenix.az.us
Tue, 22 Apr 2003 10:45:13 -0700


Thanks all.

The shiftwidth turns out to be what I was looking for. Learning about the
expand command was just an extra bonus ;-)

Bart

>>>
On Apr 22,  8:07am, Bart Garst wrote:

> Does anyone know if it's possible to adjust the number of spaces the TAB
> key indents in vim? Right now it does 8 but I'd like it at 4.

It's probably not exactly what you want, but take a look at
expand / unexpand.  (Do "man expand"...)

You should also considering leaving your tab stops set to 8 in vim and
use vim's shiftwidth setting instead.  Then, get used to using ^T and ^D
(in insert mode) instead of ^I.

Kevin
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change  you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss