On 10/13/2013 01:01 PM, Jiaxing Wang wrote: > Hi there, > I want to use Ctrl+j/k to walk through buffers, and I added the following > maps to my .vimrc: > nnoremap <silent> <C-j> :bn<cr> > nnoremap <silent> <C-k> :bp<cr> > > However, this don't work when I start vim with several files, > But then, after I manually source my vimrc file(with :so ~/.vimrc) they can > work! > > And maps with other key combinations works ok, for example: > nnoremap <silent> <C-i> :bp<cr> > > How can I debug this problem? > > Thanks. I find the problem, minibufexpl.vim overrides them with noremap <C-J> <C-W>j noremap <C-K> <C-W>k
-- -- 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 because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
