On Tue, Jun 24, 2003 at 09:07:32PM -0400, Mike Principito wrote:

> This is a bit off topic, but I'm curious if anyone knows how to set up a
> tab to be 3 spaces instead of a tab character in vim. I'm assuming I'd
> have to add something to my .vimrc, but I don't know what. Any help would
> be appreciated.

Well, the answer is ":set tabstop=8", but I'd recommend ":set
shiftwidth=3" and leaving tabs hard set to 8 (then anyone viewing your
file will still see your desired indentation).  Just use ^T and ^D in
insert mode to tab/backtab, >> and << to indent/un-indent in command
mode.

Regards,
-- 
Rex


--
[EMAIL PROTECTED] mailing list

Reply via email to