Add :backtabopen command
This commit is contained in:
parent
6ce415fc5e
commit
05e3fb8650
@ -254,6 +254,11 @@ class TabbedBrowser(TabWidget):
|
|||||||
if not background:
|
if not background:
|
||||||
self.setCurrentWidget(tab)
|
self.setCurrentWidget(tab)
|
||||||
|
|
||||||
|
@cmdutils.register(instance='mainwindow.tabs', maxsplit=0)
|
||||||
|
def backtabopen(self, url):
|
||||||
|
"""Open a new tab in background."""
|
||||||
|
self.tabopen(url, background=True)
|
||||||
|
|
||||||
@cmdutils.register(instance='mainwindow.tabs', hide=True)
|
@cmdutils.register(instance='mainwindow.tabs', hide=True)
|
||||||
def tabopencur(self):
|
def tabopencur(self):
|
||||||
"""Set the statusbar to :tabopen and the current URL.
|
"""Set the statusbar to :tabopen and the current URL.
|
||||||
|
Loading…
Reference in New Issue
Block a user