From 34a998e35634a4a7d2d57c47ecd32dea181be878 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Thu, 30 Nov 2017 22:18:41 +0100 Subject: Various changes --- qutebrowser/.config/qutebrowser/config.py | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'qutebrowser') 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("", 'fake-key ', mode='insert') -- cgit v1.2.3