J.A.J. Pater <[email protected]> [09-07-31 19:10]:
> 
> Dear vim users,
> 
> One way or another a mapping I'm trying to implement doesn't work.
> 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?
> 
> Adriaan.
> 
> 
Hi,

just a shot in the dark....

Try

    imap <C-V> normal "+gP 

instead.

Fingers crossed...

Have a nice weekend!
mcc

-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to