Hi,

i think you'd better map <C-c> in visual mode 

because when you want to copy,you must select them first.

so :

vnoremap <C-C> "+y 

i think it can solve your problem.

 


2011-01-17 



ifys0325 



发件人: shuda Li 
发送时间: 2011-01-17  16:04:23 
收件人: vim_use 
抄送: 
主题: Key mapping problem. 
 
Hi All,
Recently I bought a new PC and installed Ubuntu 10.10 and Vim 7.3.99.
I keep using the old vimrc file. However, one key mapping suddenly stop working:
map <C-c> "+y
It seems that <C-c> now behaves equivalently as <Esc>:  it switches
from insert mode to normal mode.
I installed Vim 7.2, the problem remains.
I am wondering how to solve this problem?
-- 
Shuda Li
--------------------------------
PhD  Candidate
Computer Vision Group
Room 1.15
Merchant Venturers Building
Woodland Road
the University of Bristol
Bristol BS8 1UB
United Kingdom
---------------------------------
Email:  [email protected]
            [email protected]
web:    http://www.cs.bris.ac.uk/~csxsl/
Office:    +44 (0)117 954 5629
Fax:       +44 (0)117 954 5208
---------------------------------
-- 
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

-- 
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

Reply via email to