Results 1 to 4 of 4

Thread: autoindent in vim (attn GnuVince :))

  1. #1

    autoindent in vim (attn GnuVince :))

    I was just wondering how to make vim autoindent with 2 spaces instead of 1 tab. Anybody have a clue? Thanks

  2. #2
    Guest

    Re: autoindent in vim (attn GnuVince :))

    Jah jah jah!

    Code:
    set ts=2
    set sw=2
    set et
    The first (ts == TabStop) will control the width when you press the tabkey. *The other is is ShiftWidth and constrol the width when vim indents for you. et is extend tabs: your tabs will actually be spaces.

  3. #3

    Re: autoindent in vim (attn GnuVince :))

    Yay! Thanks

  4. #4
    Guest

    Re: autoindent in vim (attn GnuVince :))

    Call me Guru. Vim Guru ;D

Similar Threads

  1. GnuVince
    By Compunuts in forum General Chat
    Replies: 5
    Last Post: 05-08-2002, 01:26 PM
  2. GnuVince
    By in forum General Chat
    Replies: 5
    Last Post: 05-02-2002, 05:55 AM
  3. GnuVince
    By Schotty in forum General Chat
    Replies: 9
    Last Post: 04-21-2002, 01:00 PM
  4. GnuVince - I wept with joy
    By pbharris in forum General Chat
    Replies: 4
    Last Post: 03-03-2002, 09:03 PM
  5. FSCK! LFS/lilo hosed my system (attn Ralinx)
    By Feztaa in forum Linux - Software, Applications & Programming
    Replies: 10
    Last Post: 01-24-2002, 06:52 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •