Jump to definition in new tab

Viewed 6726

What i'm looking for is the following behaviour:

  • ^]
    Should open the definition below the cursor in a new tab instead of a new buffer and reuse already open tabs
  • ^O
    Should switch back to the previous location in the previous tab instead of switching the buffer of the current tab to the previous locations buffer
  • ^I
    Should behave accordingly

I tried

:set switchbuf=newtab

as well as

:set switchbuf=usetab

but both did not change any of the behaviour.

2 Answers
Related