Re: Using the quickfix window without losing focus

2012-05-14 Thread Ben Fritz
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

Re: Using the quickfix window without losing focus

2012-05-14 Thread Jonathan del Strother
On 14 May 2012 11:43, John Beckett wrote: > Karthick Gururaj wrote: >> >> :noremap > > Yes, however it should be a buffer mapping, and you might like > to use a different key, such as o to open the file: > > nnoremap o p > > Put the above line in file ~/.vim/after/ftplugin/qf.vim (Unix) Nifty,

RE: Using the quickfix window without losing focus

2012-05-14 Thread John Beckett
Karthick Gururaj wrote: > > :noremap Yes, however it should be a buffer mapping, and you might like to use a different key, such as o to open the file: nnoremap o p Put the above line in file ~/.vim/after/ftplugin/qf.vim (Unix) or file $HOME\vimfiles\after\ftplugin\qf.vim (Windows). Create an

Re: Using the quickfix window without losing focus

2012-05-14 Thread Karthick Gururaj
On Mon, May 14, 2012 at 1:34 PM, 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