[plug] setting tab spacing in vi

Leon Blackwell leon at lostrealm.com
Wed Oct 11 19:25:48 WST 2000


On Wed, Oct 11, 2000 at 07:01:44PM +0800, Colin Muller wrote:
> Don't know about vanilla vi, but I have this in my .vimrc:
> 
> set hardtabs=4
> set shiftwidth=4
> set smarttab

In vi (or vim :)  you can change your tabstaops at any time while
editing by using the following in command mode:

:set ts=4   (or whatever value you like)



-- 
 +----------------------------------------------------------------+
 | Leon Blackwell                       mailto:leon at lostrealm.com |
 | http://www.lostrealm.com/                         ICQ - 424725 |
 +----------------------------------------------------------------+



More information about the plug mailing list