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

106270Re: Mapping does not work

Expand Messages
  • J.A.J. Pater
    Jul 31 11:11 AM
      meino.cramer@... schreef:
      >> I'm trying to paste with CTRL-V only in insert mode and keep using
      >> CTRL-V for visual in other modes.
      >>
      >> In my .vimrc I've got:
      >>
      >> imap <C-V> "+gP
      >>
      >> The only thing I get when pushing CTRL-V in insert mode is the literal
      >> text "+gP
      >> But not the desired effect: pasting.
      >>
      >> I tried with inoremap also, but to no avail.
      >>
      >> What could be wrong?
      >>
      >>
      Thanks meino,

      But now I just get the text: normal "+gP

      Trying the command "+gP in insert mode gives: gP (not the desired paste
      effect)

      Since I'm using gvim selecting "+gP via the menu does work!

      I'm in the dark, so keep shooting, maybe we'll hit something.

      Adriaan

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    • Show all 6 messages in this topic