On Monday, May 14, 2012 3:04:33 AM UTC-5, Jonathan del Strother wrote:
> Hi,
> I'm using fugitive's :Ggrep (a git-based wrapper around vimgrep) to
> scan for occurrences of a word in my project, viewing them in the
> quickfix window.  I end up with quite a few results, and it's not
> obvious which file I'm interested in without opening the file.  When I
> hit enter in the quickfix window, it opens that file and moves the
> cursor focus to the new buffer.  Is it possible to keep the focus in
> the quickfix window, so I can just hit enter, realise it's not the
> file I'm looking for, hit down/enter, and repeat?

You can navigate between entries without leaving the quickfix list using :cnext 
and :cprev commands. Both of these take a count if you want to skip a few 
entries. But going to a specific entry in the middle of the list somewhere 
would be difficult without a mapping-based solution like John and Karthick gave.

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

Reply via email to