summaryrefslogtreecommitdiff
path: root/qutebrowser/config/configcommands.py
diff options
context:
space:
mode:
Diffstat (limited to 'qutebrowser/config/configcommands.py')
-rw-r--r--qutebrowser/config/configcommands.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/qutebrowser/config/configcommands.py b/qutebrowser/config/configcommands.py
index 417ffce00..407c74214 100644
--- a/qutebrowser/config/configcommands.py
+++ b/qutebrowser/config/configcommands.py
@@ -151,9 +151,12 @@ class ConfigCommands:
default: If given, restore a default binding.
"""
if key is None:
+ url = QUrl('qute://bindings')
+ if mode != "normal":
+ url.setFragment(mode)
tabbed_browser = objreg.get('tabbed-browser', scope='window',
window=win_id)
- tabbed_browser.load_url(QUrl('qute://bindings'), newtab=True)
+ tabbed_browser.load_url(url, newtab=True)
return
seq = self._parse_key(key)