Qutebrowser: Merge tabs from all open windows

Created on 24 Sep 2019  路  3Comments  路  Source: qutebrowser/qutebrowser

Hi, thanks for your work on Qutebrowser!

Often I find myself wanting to gather the tabs from all open windows into a single window (and then close the donor windows). If tab-take supported wildcards, then :tab-take * combined with :set tabs.lastclose close would achieve this. Is there any interest in making tab-take support wildcards or comma-separated targets?

Tangentially related: #2384, #2987.

2 - low

Most helpful comment

Also see #2937 - I think that makes sense, even more so if you could e.g. use :tab-take 2/* to get all tabs from that window.

All 3 comments

Also see #2937 - I think that makes sense, even more so if you could e.g. use :tab-take 2/* to get all tabs from that window.

I have a dirty semi-workaround for this:

config.bind('V', 'set-cmd-text -s :tab-give')

Then, Tab gives the other window's id, Enter moves the tab (usually I'm dealing with 2 windows max, so id is not supposed to be chosen erratically). Conveniently window focus is not altered, so moving several tabs is a repetetive 3-key-affair per tab. Last tab moved doesn't close the window, though, which is okay.

Said binding has the nice sideeffect that without argument (just V-Enter), focussed tab becomes new window.

@amenl Thanks, I like your workaround.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

agguser picture agguser  路  4Comments

victorb picture victorb  路  4Comments

brianbuccola picture brianbuccola  路  3Comments

The-Compiler picture The-Compiler  路  3Comments

nagy135 picture nagy135  路  3Comments