2010/1/13 Michael Wookey <[email protected]>: > 2010/1/13 Steven Woody <[email protected]>: >> 2009/12/30 Michael Wookey <[email protected]>: >>> 2009/12/28 Steven Woody <[email protected]>: >>>> 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> >>> >> >> I still want to see the error list and want to really browse on it, >> just don't want window switching. :) > > Try using :copen (or map it) first.
Or, combine the two together like so... nnoremap <silent> <C-j> :copen<CR>:cnext<CR> nnoremap <silent> <C-k> :copen<CR>:cprevious<CR>
-- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php
