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: BG - B. A. <BAr...@dy...> - 2004-10-29 19:16:56
|
On Fri, 2004-10-29 at 15:49 -0300, BG - Ben Armstrong wrote: > > Then add the autocmd: > > > > autocmd BufEnter,BufNewFile * call MySoftab() > > Did that ... > > > and you should be set. Note I have not tested this. :) > > Well, it doesn't work for me. I tinkered with it a bit, but couldn't > figure out what was wrong. 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() Ben |