diff --git a/.config/qutebrowser/keys.conf b/.config/qutebrowser/keys.conf index 6427653b..c6278124 100644 --- a/.config/qutebrowser/keys.conf +++ b/.config/qutebrowser/keys.conf @@ -90,7 +90,6 @@ tab-only tab-focus J - gt tab-move gm @@ -414,22 +413,29 @@ follow-selected -t -spawn --detach mpv {url} +spawn --userscript view_in_mpv x -hint links spawn mpv {hint-url} +hint links userscript view_in_mpv {hint-url} ;x +set-cmd-text -s :buffer + gt + [insert] # Keybindings for insert mode. # Since normal keypresses are passed through, only special keys are # 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/.config/qutebrowser/qutebrowser.conf b/.config/qutebrowser/qutebrowser.conf index fc2f5a8b..a946e741 100644 --- a/.config/qutebrowser/qutebrowser.conf +++ b/.config/qutebrowser/qutebrowser.conf @@ -350,7 +350,7 @@ hide-wayland-decoration = false do-not-track = true accept-language = en-US,en referer-header = same-domain -user-agent = Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.15 (KHTML, like Gecko) Chrome/47.0.2526.80 Version/8.0 Safari/538.15 qutebrowser/0.4.1 +user-agent = proxy = system proxy-dns-requests = true ssl-strict = ask @@ -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 = asdfghjkl min-chars = 1 scatter = false uppercase = false +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 @@ -1332,8 +1340,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.