From: Wei Weng, Oct 14, 2003 1:39 PM
> From: Steve Hall
> > Hmm... there might be two different problems here. Try adding
> > "<silent>" to eliminate the error message, like below:
> > iunmap <silent> <Up>
> > vunmap <silent> <Up>
> It appears to me the error message only comes up for iunmap<Left>/<Right>.
> If I took those 4 lines out, there would be no more error messages.
Do you have any custom Vim plugins loaded? And are you sure Cream is
actually loading? (It's not really intended to work in terminals yet,
but I'll try to help.)
> > But if you're getting weird characters, it may be that your
> > console doesn't recognize these characters in the first place,
> > many old ones don't. What system are you on?
> I am using redhat 7.3 with rxvt as my terminal. (And I just tested
> the same configuration on aterm, xterm, Eterm, none of them worked,
> they all produce A,B,C,D when I press the arrow keys respectively.
"A,B,C,D"? Not sure what you mean.
It's been a while, but I remember having some difficulties with rxvt
and switched to xterm once while testing Cream with better results.
But I've not found a terminal yet that can handle all the various
combinations Cream maps.
> > It may be that your system doesn't recoginize these keys, and so Vim
> > doesn't map them. (I use <silent> to map them so you wouldn't know.)
> > That would explain why when you try to unmap them, they don't exist.
> How do I force my terminal emulators to "recognize" these keys? I
> thought rxvt/aterm/xterm/Eterm are modern enough to adjust to the
> new keyboard layout.
No, terminals interpret with quite varying results. You might look at
the Vim Online site and read some of the many tips regarding this
issue, it comes up all the time on the Vim list. If you can use the
GUI, you'll have more consistent results, but I can't promise anything
in terminal Vim.
> > You might try a test at the command line like
> > imap <Up> :echo "test"
> > Does it produce an error or message?
> It doesn't produce anything at all. The command seems to be
How about with <Left>/<Right> substituted for <Up>, since those are
the ones in question?
Steve Hall [ digitect@... ]
Cream... the Vim text editor in sheep's clothing!