[lug] vi(m) question

Atkinson, Chip CAtkinson at Circadence.com
Fri Oct 6 09:05:39 MDT 2000


Yes it does.  Thanks.  I know that I've searched for tab stuff in the past
and not found it which I why I ended up asking.  Man, I love vim.  (no
flames please. :-))

Chip

-----Original Message-----
From: David Morris [mailto:boru at frii.com]
Sent: Friday, October 06, 2000 8:48 AM
To: Boulder Linux User's Group
Subject: Re: [lug] vi(m) question


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
character.

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!

--David

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
> 
> 


_______________________________________________
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