[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: globally setting tab=4 spaces?



On Sat, Mar 31, 2001 at 11:36:08AM -0800, Eric G. Miller wrote:
> Yea, 8 seems a bit wide for programs.  Here's what I often put in
> my source files for vim.
> 
> /* vim: set softtabstop=4 shiftwidth=4 expandtab: */
> 
> Basically, you end up with a file that has spaces instead of tabs due to
> the expandtab directive.  

rather than have four characters do the work of one, i'd just
like to find a system setting (/etc/tabstops ? ~/.inputrc ? 
$ENV{TAB_STOPS} ? ) that changes default 8-column tabs to 3- or
4-col tabs.

is there a way to change the default 8-col tab to 4-col?
system-wide? (this is linux, after all...)

-- 
does a brain cell think?

will@serensoft.com
http://sourceforge.net/projects/newbiedoc -- we need your brain!
http://www.dontUthink.com/ -- your brain needs us!



Reply to: