Friday, April 2, 2010

Re: ctrl-k mapping not working

On 03/04/10 03:41, Florian Rehnisch wrote:
> * Tony Mechelynck<antoine.mechelynck@gmail.com> [100403 03:20]:
>>> imap<expr> <c-k> pumvisible()?"\<C-P>":"\<esc>"
>> AFAIK, this key is not remappable. Don't know if it's intended or an
>> oversight, but the help says that its operands are not considered
>> for mapping.
>
> I do. I have this line in my vimrc:
>
> inoremap jff<c-k>|inoremap<c-k> <esc>
>
> It works. But rather doing gvim or gnome-terminal, I use urxvt.

Ah yes, it works :-? yet I thought I'd tried it in the past (with gvim
6.x on Windows) and not succeeded. Maybe a bug that has been fixed?


Best regards,
Tony.
--
If you can't learn to do it well, learn to enjoy doing it badly.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

To unsubscribe, reply using "remove me" as the subject.

No comments:

Post a Comment