Friday, July 29, 2011

key mappings work in gvim but not in vim?

I have the following key mapping in .vimrc

imap <C-CR> <Esc>o
nmap <C-CR> o<Esc>

They work in gvim, but not in vim. I'm sure it's not due to the terminal. Because I tried gnome-terminal, xterm, urxvt and the console (Ctrl+Alt+F1).

--
Yuliang

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

No comments: