[lug] vi(m) question

David Morris boru at frii.com
Fri Oct 6 08:48:03 MDT 2000

There is a setting to insert spaces when the tab key is pressed:

:set et

This will take the current width of the tab stop 
(for example :set ts=4) and insert that many spaces instead of a tab

If you go into help (press F1 key or type :help), all settings are
listed.  Just search for a keyword related for what you want to do,
and there is a pretty good chance you will find something.  I don't
know the above commnad off the top of my head, but I found it by doing
a search for 'tab' in help.

Hope this helps!


On Thu, 5 Oct 2000, Atkinson, Chip wrote:

> Greetings,
> Does anyone know if there is a setting in vim that causes only spaces to be
> inserted when autoindent is true?  
> For example, if I have "list" set and "ai" both set, then I can see the tabs
> being put in.
> What I'd like to see is only spaces.
> Thanks in advance.
> Chip
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug

More information about the LUG mailing list