Every other key mapping works very well. The key mapping <C-c> also works fine on my old PC Ubuntu10.04, for both Vim 7.2 and Vim 7.3.99,
Very weird problem. Shuda 2011/1/17 ifys0325 <[email protected]>: > Did you try to paste it? > Or type ":register" to see if some content in the register *? > > In the normal condition, it will be back to normal mode and write the > content to register *. > > > > 2011-01-17 > ________________________________ > ifys0325 > ________________________________ > 发件人: shuda Li > 发送时间: 2011-01-17 17:00:58 > 收件人: vim_use > 抄送: > 主题: Re: Key mapping problem. > HI, > I just tried this solution, it doesn't work. <C-c> just switches from > visual mode back to normal mode. :( > 2011/1/17 ifys0325 <[email protected]>: >> 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 >> > -- > 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 > Mobile : +44 (0)786 973 5073 > 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 > -- 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 Mobile : +44 (0)786 973 5073 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
