I have these lines in my vimrc:

nn <C-J> :bn<cr>
nn <C-K> :bp<cr>
imap <expr> <c-j>      pumvisible()?"\<C-N>":"\<C-X><C-O>"
imap <expr> <c-k>      pumvisible()?"\<C-P>":"\<esc>"

Everything works fine until today. I'm using gnome-terminal, and vim72,
The c-j mapping works as expected, but whenever I press c-k, nothing
happens,
just like no key pressed. But everything is ok in gVim.

:verbose nn <c-k> output:
n  <C-K>       * :bp<CR>
        Last set from ~/.vimrc

What's wrong with my vim? or something is wrong with my gnome-terminal?

Thanks!

-- 
Zhang Cheng ([email protected])
Embedded System Lab.
University of Science and Technology of China

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

Reply via email to