From 2a0962d39f66aeff81d1ee41bde4c9d9d7706d08 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 22 Jan 2018 18:35:18 +0100 Subject: [qutebrowser] Add script for passwords --- qutebrowser/.config/qutebrowser/config.py | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'qutebrowser/.config') diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py index ec12a62..e3fa7b1 100644 --- a/qutebrowser/.config/qutebrowser/config.py +++ b/qutebrowser/.config/qutebrowser/config.py @@ -4,8 +4,9 @@ c.downloads.location.prompt = False c.editor.command = ['urxvt', '-e', 'nvim', '-f', '{}'] +c.fonts.hints = 'bold 12pt monospace' c.hints.chars = 'aoeuidhtns' -# c.hints.uppercase = True +c.hints.uppercase = True c.tabs.favicons.show = False c.tabs.show = 'multiple' c.tabs.tabs_are_windows = True @@ -14,11 +15,11 @@ c.url.default_page = c.url.start_pages[0] # Bindings for normal mode config.bind(",b", 'spawn --userscript explorer -b') -config.bind(",h", 'spawn --userscript explorer -h') config.bind(",p", 'spawn --userscript explorer') config.bind(",t", 'spawn --userscript explorer -t') config.bind(",v", 'spawn -d mpv {url}') config.bind(";v", 'hint links spawn -d mpv {hint-url}') +config.bind(",x", 'spawn --userscript user-password') config.bind("]d", 'set downloads.location.prompt True') config.bind("[d", 'set downloads.location.prompt False') config.bind(",do", 'download-open') @@ -28,14 +29,15 @@ config.bind("f", 'hint all current') # Bindings for insert mode config.bind("", 'fake-key ', mode='insert') +config.bind("", 'fake-key ', mode='insert') config.bind("", 'fake-key ', mode='insert') config.bind("", 'fake-key ', mode='insert') -config.bind("", 'fake-key ', mode='insert') config.bind("", 'fake-key ', mode='insert') config.bind("", 'fake-key ', mode='insert') config.bind("", 'fake-key ', mode='insert') config.bind("", 'fake-key ', mode='insert') -config.bind("", 'open-editor', mode='insert') +config.bind("", 'open-editor', mode='insert') +config.bind("", 'spawn --userscript user-password', mode='insert') # Bindings for command mode config.bind('', 'fake-key -g ', mode='command') @@ -45,11 +47,12 @@ config.bind('', 'completion-item-focus next', mode='command') # Search engines c.url.searchengines = { 'DEFAULT': 'https://startpage.com/do/search?query={}', - 'yt': 'https://www.youtube.com/results?search_query={}', - 'ddg': 'https://duckduckgo.com/?q={}', - 'google': 'https://www.google.com/search?hl=en&q={}', 'aw': 'https://wiki.archlinux.org/index.php?search={}', + 'ddg': 'https://duckduckgo.com/?q={}', 'dic': 'https://dictionary.cambridge.org/dictionary/english/{}', - 'tr': 'https://translate.google.com/#en/fr/{}', + 'google': 'https://www.google.com/search?hl=en&q={}', + 'hn': 'https://hn.algolia.com/?query={}', 'scholar': 'https://scholar.google.com/scholar?q={}', + 'tr': 'https://translate.google.com/#en/fr/{}', + 'yt': 'https://www.youtube.com/results?search_query={}', } -- cgit v1.2.3