summaryrefslogtreecommitdiff
path: root/qutebrowser
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-01-27 18:14:24 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-01-27 19:24:18 +0100
commitbedfd47f055860776bf81e6a5b52bd698252f957 (patch)
tree9377e29f21b18b78d2f69423e3d0e7fe0c37db8f /qutebrowser
parent98fea7e10a672787590cd9ca58194cb5a6c33a82 (diff)
downloadqutebrowser-bedfd47f055860776bf81e6a5b52bd698252f957.tar.gz
qutebrowser-bedfd47f055860776bf81e6a5b52bd698252f957.zip
Use commands for 'S.' bindings
Diffstat (limited to 'qutebrowser')
-rw-r--r--qutebrowser/browser/commands.py5
-rw-r--r--qutebrowser/config/configdata.yml10
2 files changed, 9 insertions, 6 deletions
diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py
index 8779e4cf3..dc0664238 100644
--- a/qutebrowser/browser/commands.py
+++ b/qutebrowser/browser/commands.py
@@ -1283,15 +1283,18 @@ class CommandDispatcher:
message.info("Removed bookmark {}".format(url))
@cmdutils.register(instance='command-dispatcher', scope='window')
- def bookmark_list(self, tab=True, bg=False, window=False):
+ def bookmark_list(self, jump=False, tab=True, bg=False, window=False):
"""Show all bookmarks/quickmarks.
Args:
tab: Open in a new tab.
bg: Open in a background tab.
window: Open in a new window.
+ jump: Jump to the "bookmarks" header.
"""
url = QUrl('qute://bookmarks/')
+ if jump:
+ url.setFragment('bookmarks')
self._open(url, tab, bg, window)
@cmdutils.register(instance='command-dispatcher', scope='window')
diff --git a/qutebrowser/config/configdata.yml b/qutebrowser/config/configdata.yml
index b0c9462e5..0b84292a3 100644
--- a/qutebrowser/config/configdata.yml
+++ b/qutebrowser/config/configdata.yml
@@ -1088,7 +1088,7 @@ completion.web_history.exclude:
A list of patterns which should not be shown in the history.
This only affects the completion. Matching URLs are still saved in the
- history (and visible on the qute://history page), but hidden in the
+ history (and visible on the `:history` page), but hidden in the
completion.
Changing this setting will cause the completion history to be regenerated
@@ -3369,10 +3369,10 @@ bindings.default:
<Ctrl-h>: home
<Ctrl-s>: stop
<Ctrl-Alt-p>: print
- Ss: open qute://settings
- Sb: open qute://bookmarks#bookmarks
- Sq: open qute://bookmarks
- Sh: open qute://history
+ Ss: set
+ Sb: bookmark-list --jump
+ Sq: bookmark-list
+ Sh: history
<Return>: selection-follow
<Ctrl-Return>: selection-follow -t
.: repeat-command