Folding in vim

Terry Hancock hancock at anansispaceworks.com
Wed Jul 6 02:44:03 EDT 2005


On Tuesday 05 July 2005 03:53 pm, Renato Ramonda wrote:
> Why not use just spaces? Vim simplifies this immensely:
> 
> set tabstop=4
> set shiftwidth=4
> set expandtab
> set smarttab
> set autoindent
> 
> AFAICT this gives me all spaces, 4 spaces indent, tab inserts spaces and 
> backspace over a block of 4 spaces deletes all of them (just like 
> deleting a tab).

Yep, this is what I just set up in my .vimrc.  Works beautifully.

--
Terry Hancock ( hancock at anansispaceworks.com )
Anansi Spaceworks  http://www.anansispaceworks.com




More information about the Python-list mailing list