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'

It still isn't as neat as the other suggestion (namely linking the
quickfix list and the buffer that it loads by pressing return)
directly, but it gets around the main issue I had working with grep,
namely the need to press so many keystrokes in switching between the
two.

Any ideas on how to do this? And is it possible to map a low-level
keystroke in terms of itself?

Thanks,

Ed

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

Reply via email to