Wednesday, December 30, 2009

Re: browse in the quickfix window

2009/12/28 Steven Woody <narkewoody@gmail.com>:
> In the quickfix window (opened by :cw), I hit a ENTER on an item and
> the cursor jumps to the main window, this is fine in some cases. But
> what do I do if I want the cursor stay on the quickfix window and just
> like to see the contents of the other window changes?

Maybe something like this?

nnoremap <silent> <C-j> :cnext<CR>
nnoremap <silent> <C-k> :cprevious<CR>

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

No comments:

Post a Comment