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. Vim's folding functionality (attn vince ;)
    By Feztaa in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 03-23-2002, 03:03 AM
  2. GnuVince
    By stryder144 in forum General Chat
    Replies: 4
    Last Post: 03-03-2002, 11:33 PM
  3. Replies: 12
    Last Post: 02-08-2002, 02:15 AM
  4. 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
  5. Backing up LFS (attn Ralinx)
    By Feztaa in forum Linux - Software, Applications & Programming
    Replies: 7
    Last Post: 01-20-2002, 06:28 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
  •