summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-04-07 15:08:04 +0100
committerUrbain Vaes <urbain@vaes.uk>2016-04-07 15:08:04 +0100
commitfb4f6287e25c1a283ae92ad801677278ad22d1f6 (patch)
treea5d0ca9da2ce865e7331a3851bce9c6248794d50
parent9610f2882a877ad573a585de421dee9bf66abe78 (diff)
Update qutebrowser configuration
-rw-r--r--qutebrowser/keys.conf7
-rw-r--r--qutebrowser/qutebrowser.conf16
2 files changed, 19 insertions, 4 deletions
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
<Ctrl-E>
+paste-primary
+ <Shift-Ins>
+
[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.