From fb4f6287e25c1a283ae92ad801677278ad22d1f6 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Thu, 7 Apr 2016 15:08:04 +0100 Subject: Update qutebrowser configuration --- qutebrowser/keys.conf | 7 +++++++ qutebrowser/qutebrowser.conf | 16 ++++++++++++---- 2 files changed, 19 insertions(+), 4 deletions(-) (limited to 'qutebrowser') diff --git a/qutebrowser/keys.conf b/qutebrowser/keys.conf index 76f0e72..79a9e13 100644 --- a/qutebrowser/keys.conf +++ b/qutebrowser/keys.conf @@ -56,6 +56,9 @@ set-cmd-text -s :spawn --userscript url-from-surfraw set-cmd-text -s :spawn --userscript url-from-surfraw -t t +set-cmd-text -s :spawn mpv {url} + y + set-cmd-text :open {url} go @@ -422,10 +425,14 @@ undo # supported in this mode. # Useful hidden commands to map in this section: # * `open-editor`: Open a texteditor with the focused field. +# * `paste-primary`: Paste primary selection at cursor position. open-editor +paste-primary + + [hint] # Keybindings for hint mode. # Since normal keypresses are passed through, only special keys are diff --git a/qutebrowser/qutebrowser.conf b/qutebrowser/qutebrowser.conf index 606c81d..9064d48 100644 --- a/qutebrowser/qutebrowser.conf +++ b/qutebrowser/qutebrowser.conf @@ -891,9 +891,11 @@ enable-pdfjs = false # Mode to use for hints. # number: Use numeric hints. # letter: Use the chars in the hints -> chars setting. +# word: Use hints words based on the html elements and the extra +# words. # Default: letter # -# chars (String): +# chars (UniqueCharString): # Chars used for hint strings. # Default: asdfghjkl # @@ -912,8 +914,13 @@ enable-pdfjs = false # Valid values: true, false # Default: false # +# dictionary (File): +# The dictionary file to be used by the word hints. +# Default: /usr/share/dict/words +# # auto-follow (Bool): -# Whether to auto-follow a hint if there's only one left. +# Follow a hint immediately when the hint text is completely +# matched. # Valid values: true, false # Default: true # @@ -932,6 +939,7 @@ chars = aoeuidhtns min-chars = 1 scatter = true uppercase = true +dictionary = /usr/share/dict/words auto-follow = true next-regexes = \bnext\b,\bmore\b,\bnewer\b,\b[>→≫]\b,\b(>>|»)\b,\bcontinue\b prev-regexes = \bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<|«)\b @@ -1309,8 +1317,8 @@ webpage.bg = white # _monospace (Font): # Default monospace fonts. # Default: Terminus, Monospace, "DejaVu Sans Mono", Monaco, -# "Bitstream Vera Sans Mono", "Andale Mono", "Liberation Mono", -# "Courier New", Courier, monospace, Fixed, Consolas, Terminal +# "Bitstream Vera Sans Mono", "Andale Mono", "Courier New", Courier, +# "Liberation Mono", monospace, Fixed, Consolas, Terminal # # completion (Font): # Font used in the completion widget. -- cgit v1.2.3