On Wed, Jun 3, 2009 at 12:01 AM, Edward Peschko wrote: > > All, > > Is it possible to make a keyboard mapping in a conditional context? > > I was thinking about it a bit more, and I would like to make h,j,k,l > all work differently in a quick-fix context, to support the grepping > tool that I was talking about (ie: j is bound to 'j-return CTRL-W W > CTRL-W W' to get back to the quick fix list, k is bound to 'k-return, > etc. etc'
I'm not sure I understand what you're trying to do, but why are you using <C-w>w to get back to the quickfix window, instead of using :copen ? Seems like the former will fail in multiwindow layouts, and the latter won't. ~Matt --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
