From e95260092c34ad1a5955eccc2c040194beea1eae Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 9 Oct 2017 07:00:36 +0200 Subject: [PATCH] Add some more dwb keybindings See #13 --- doc/help/settings.asciidoc | 6 ++++++ qutebrowser/config/configdata.yml | 6 ++++++ qutebrowser/html/bookmarks.html | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc index 77227c934..2d8008b38 100644 --- a/doc/help/settings.asciidoc +++ b/doc/help/settings.asciidoc @@ -514,6 +514,9 @@ Default: * +pass:[PP]+: +pass:[open -t -- {primary}]+ * +pass:[Pp]+: +pass:[open -t -- {clipboard}]+ * +pass:[R]+: +pass:[reload -f]+ +* +pass:[Sb]+: +pass:[open qute://bookmarks#bookmarks]+ +* +pass:[Sh]+: +pass:[open qute://history]+ +* +pass:[Sq]+: +pass:[open qute://bookmarks]+ * +pass:[Ss]+: +pass:[open qute://settings]+ * +pass:[T]+: +pass:[tab-focus]+ * +pass:[ZQ]+: +pass:[quit]+ @@ -576,7 +579,10 @@ Default: * +pass:[wo]+: +pass:[set-cmd-text -s :open -w]+ * +pass:[wp]+: +pass:[open -w -- {clipboard}]+ * +pass:[xO]+: +pass:[set-cmd-text :open -b -r {url:pretty}]+ +* +pass:[xb]+: +pass:[config-cycle statusbar.hide]+ * +pass:[xo]+: +pass:[set-cmd-text -s :open -b]+ +* +pass:[xt]+: +pass:[config-cycle tabs.show always switching]+ +* +pass:[xx]+: +pass:[config-cycle statusbar.hide ;; config-cycle tabs.show always switching]+ * +pass:[yD]+: +pass:[yank domain -s]+ * +pass:[yP]+: +pass:[yank pretty-url -s]+ * +pass:[yT]+: +pass:[yank title -s]+ diff --git a/qutebrowser/config/configdata.yml b/qutebrowser/config/configdata.yml index 98fa35194..f500a2f0f 100644 --- a/qutebrowser/config/configdata.yml +++ b/qutebrowser/config/configdata.yml @@ -2129,6 +2129,12 @@ bindings.default: : stop : print Ss: open qute://settings + Sb: open qute://bookmarks#bookmarks + Sq: open qute://bookmarks + Sh: open qute://history + xx: config-cycle statusbar.hide ;; config-cycle tabs.show always switching + xt: config-cycle tabs.show always switching + xb: config-cycle statusbar.hide : follow-selected : follow-selected -t .: repeat-command diff --git a/qutebrowser/html/bookmarks.html b/qutebrowser/html/bookmarks.html index 7e6f46ea9..5107ad3b0 100644 --- a/qutebrowser/html/bookmarks.html +++ b/qutebrowser/html/bookmarks.html @@ -46,7 +46,7 @@ th { You have no quickmarks {% endif %} -

Bookmarks

+

Bookmarks

{% if bookmarks|length %}