Space v. Tabs (was: Re: [gentoo-user] [OT] vim c syntax)

2006-04-13 Thread Boyd Stephen Smith Jr.
On Thursday 13 April 2006 11:01, "Kevin O'Gorman" <[EMAIL PROTECTED]> wrote about 'Re: [gentoo-user] [OT] vim c syntax': > set expandtab Converting tabs to spaces or vice-versa automatically is evil. They have distinct uses so just don't do it. Tabs ar

Re: [gentoo-user] [OT] vim c syntax

2006-04-13 Thread Kevin O'Gorman
You probably want something like this in your .vimrc: set expandtab set tabstop=8   " ts, number of spaces that a tab *in the original file* is "equivalent to set softtabstop=4 " how much a tab *that you type* is worth set shiftwidth=4    " sw,