Jim Freeze wrote:
> Vincent Foley <gnuvince / yahoo.ca> wrote in message news:<20011201123239.A2609 / vincent>...
> > On Sun, Dec 02, 2001 at 02:18:41AM +0900, Niko Schwarz wrote:
> > > > Side note: with vim6, I've never had to hit the tab or the backspace key
> > > > yet.
> 
> > OK. So, to select code, you can use visual mode (v) or line visual mode
> > (V).  Then, once your lines are selected, you can use the < or >
> > operator to indent backward or forward.  If you want to indent just one
> > line, put your cursor on that line (not in visual mode) and use << or >>
> > depending on the direction.
> 
> How do you control the amount a single indent is?
> I have ts=2 (a tab is two spaces), but when I use < or >
> I get 8 spaces.

set shiftwidth=2
" set expandtab     " if you want to replace tabs with spaces

Regards,

  Michael
-- 
Michael Neumann
merlin.zwo InfoDesign GmbH
http://www.merlin-zwo.de