Thread: Vim tabs

  1. #1
    Registered User PutoAmo's Avatar
    Join Date
    Mar 2002

    Vim tabs

    Hello all.

    How could I edit my vim config file so that tabs (when c programming) take just 4 spaces?

  2. #2
    Registered User
    Join Date
    Aug 2001
    Off hand, I'm not sure, but give this URL a shot.

    My wager is that you'll find what you're looking for somewhere in there.


  3. #3
    Registered User
    Join Date
    Oct 2002
    I dug this out of my .gvimrc, bet it's the same for .vimrc

    set softtabstop=4
    set shiftwidth=4

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. VIM: The (un)official thread
    By MK27 in forum Programming Book and Product Reviews
    Replies: 32
    Last Post: 04-20-2011, 06:43 PM
  2. vim question - linux
    By Stonehambey in forum Tech Board
    Replies: 9
    Last Post: 10-18-2008, 04:05 AM
  3. VIM editing ... more about those tabs!
    By hamsteroid in forum A Brief History of
    Replies: 10
    Last Post: 04-10-2007, 12:50 PM
  4. I need to use dialogs as tabs?
    By BenPage in forum C++ Programming
    Replies: 1
    Last Post: 08-03-2005, 08:59 AM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM