Loading ...
Sorry, an error occurred while loading the content.

Re: ctrl-k mapping not working

Expand Messages
  • Tony Mechelynck
    ... 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,
    Message 1 of 4 , Apr 2, 2010
    • 0 Attachment
      On 03/04/10 03:41, Florian Rehnisch wrote:
      > * Tony Mechelynck<antoine.mechelynck@...> [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.
    Your message has been successfully submitted and would be delivered to recipients shortly.