summaryrefslogtreecommitdiff
path: root/qutebrowser/.config
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2017-11-30 22:18:41 +0100
committerUrbain Vaes <urbain@vaes.uk>2017-11-30 22:18:41 +0100
commit34a998e35634a4a7d2d57c47ecd32dea181be878 (patch)
treeacd9967af03d8537df0051daf17ebee720af0d61 /qutebrowser/.config
parentb8e547dec5d0f388d4dfd8c1c97d389a3b045d59 (diff)
Various changes
Diffstat (limited to 'qutebrowser/.config')
-rw-r--r--qutebrowser/.config/qutebrowser/config.py23
1 files changed, 15 insertions, 8 deletions
diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py
index c75298f..bdd980d 100644
--- a/qutebrowser/.config/qutebrowser/config.py
+++ b/qutebrowser/.config/qutebrowser/config.py
@@ -2,24 +2,31 @@
# qute://help/configuring.html
# qute://help/settings.html
+c.downloads.location.prompt = False
c.editor.command = ['urxvt', '-e', 'vim', '-f', '{}']
c.hints.chars = 'aoeuidhtns'
c.hints.uppercase = True
c.tabs.favicons.show = False
-c.url.default_page = 'about:blank'
-c.url.start_pages = ['about:blank']
c.tabs.show = 'multiple'
c.tabs.tabs_are_windows = True
+c.url.default_page = 'about:blank'
+c.url.start_pages = ['about:blank']
# Bindings for normal mode
-config.bind("o", 'set-cmd-text -s :spawn --userscript url-from-surfraw')
-config.bind("t", 'set-cmd-text -s :spawn --userscript url-from-surfraw -t')
-config.bind(",p", 'spawn --userscript explorer')
-config.bind(",t", 'spawn --userscript explorer -t')
-config.bind(",h", 'spawn --userscript explorer -h')
config.bind(",b", 'spawn --userscript explorer -b')
config.bind(",d", 'spawn --userscript dictionary-search')
-config.bind('f', 'hint all current')
+config.bind(",h", 'spawn --userscript explorer -h')
+config.bind(",p", 'spawn --userscript explorer')
+config.bind(",t", 'spawn --userscript explorer -t')
+config.bind(",v", 'spawn mpv {url}')
+config.bind(",V", 'hint links spawn mpv {hint-url}')
+config.bind("]d", 'set downloads.location.prompt True')
+config.bind("[d", 'set downloads.location.prompt False')
+config.unbind("d")
+config.bind("do", 'download-open')
+config.bind("o", 'set-cmd-text -s :spawn --userscript url-from-surfraw')
+config.bind("t", 'set-cmd-text -s :spawn --userscript url-from-surfraw -t')
+config.bind("f", 'hint all current')
# Bindings for insert mode
config.bind("<Ctrl-A>", 'fake-key <Home>', mode='insert')