Re: Hard tabsize vs. soft tabsize problem
Cream is a free, easy-to-use configuration of the Vim text editor
Brought to you by:
digitect
From: Steve H. <dig...@mi...> - 2004-10-29 21:51:31
|
From: BG - Ben Armstrong, Oct 29, 2004 3:16 PM > On Fri, 2004-10-29 at 15:49 -0300, BG - Ben Armstrong wrote: > > > > > > Then add the autocmd: > > > > > > autocmd BufEnter,BufNewFile * call MySoftab() [...] > > I think the issue is that I'm passing a filename to cream from the > command line. When I do a cream File -> Open, then the autocmd is > invoked. But as I explained earlier, all of our files are edited by > passing a file to cream through an external wrapper. If I do this > instead, it works: > > autocmd VimEnter,BufEnter,BufNewFile * call MySoftab() Ah, glad you solved that. This is the typical set of events for Cream autocmds, I should have considered they'd be the same. -- Steve Hall [ digitect mindspring com ] Cream... something good to put in your Vim! http://cream.sourceforge.net |