Hello,

Marius Roets <[EMAIL PROTECTED]> wrote:

> In a quickfix window, selecting an error (pressing enter) takes you to
> that error. The way it does this is by opening the file in the window
> above the quickfix window (if it is not open already, in which case it
> jumps to the open buffer, assuming the buffer is in the same tabpage).
> There are 2 problems I have with this situation. I can think of
> solutions to them using a ftplugin and remapping <enter>, but I
> thought maybe somebody had solved them already.

> 1) I would like to open a new window/tab, rather than use the one
> above the quickfix window.

:h 'switchbuf' -> split

> 2) If the buffer is already open in another tab page, I'd like to jump
> there, instead of opening it in this tab again.

:h 'switchbuf' -> useopen, usetab

HTH,


--
Luc Hermitte

Reply via email to