Re: mac compatibility? backspace?
Cream is a free, easy-to-use configuration of the Vim text editor
Brought to you by:
digitect
From: Steve H. <dig...@mi...> - 2005-04-19 15:19:26
|
From: david palm, Apr 19, 2005 3:23 AM > > > I think you really want the "<BS>" literally. For me, [in Vim, not > > Cream!] pressing Ctrl+V and then <Backspace> produces this. (In > > Cream, use Alt+, instead of Ctrl+V.) In other words, you're > > pressing Ctrl+V three times and then <Backspace>. > > > > You can try both ":fixdel" and "set t_kb=^V<BS>" from the command > > line withouth the if/endif to test. > > Still no luck. > :-( > > I think it would be very interesting to see some debug info and > watch what is *exactly* happening inside when I press backspace... > Are there no debug facilities in gvim/cream for plugin/script > developers? Cream doesn't log after initial load. But you might try a the Vim :debug command. At the commandline, try :debug :execute "normal i\<BS>" and various incantations. Can you reproduce the error this way? > Another idea I had was to start and exclude stuff from cream, piece > by piece, until the part that causes this problem is isolated, but > that's kind of long... Maybe not. First off, you see this problem only with Cream, right? (When you start regular Vim, backspace always behaves as expected from insertmode.) If so, then we know it is some setting Cream uses not set by default in Vim. I would guess it is something in cream-settings.vim, although on looking through it I can't imagine what it would be. The other usual suspects would be lib and keys, although <BS> is not mapped by default and lib is only functions called from elsewhere. The fact that you are getting an actual Vim error implies something in core Vim or the binary. I know Mac support has lagged pretty severely. Maybe someone on vi...@vi... has seen this before? > I launch cream by executing this script: > gvim -U NONE -u "\$VIMRUNTIME/cream/creamrc" "$@" > > (I don't know where $VIMRUNTIME is set, but the only creamrc I have > installed is in /Applications/Vim.app/runtime/cream/creamrc so I > guess the $VIMRUNTIME is set correctly by ~/.vimrc or ~/.gvimrc Actually, $VIMRUNTIME is set by (g)vim.exe. > So, I could start out somewhere (where?) and comment out stuff. Do > you have any advice as to where to start doing this? Start in the scripts I mentioned above, and failing that, comment out various modules in cream.vim. -- Steve Hall [ digitect mindspring com ] Cream... something good to put in your Vim! http://cream.sourceforge.net |