dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit cfe67323315183e79a7dea464f9223d4295b8b0e
parent 476620247cfeb29b156580d798ee4b2468c03024
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Wed, 16 Jan 2019 05:24:52 -0500

qutebrowser config improvements

Diffstat:
M.config/qutebrowser/config.py | 11+++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py @@ -1,3 +1,5 @@ +import os +editor = os.environ.get('EDITOR', 'vi') c.aliases['o'] = 'open' c.aliases['h'] = 'help' @@ -15,8 +17,12 @@ c.content.desktop_capture = 'ask' c.content.javascript.enabled = False -c.url.default_page = 'https://start.duckduckgo.com/html' -c.url.start_pages = 'https://archlinux.org' +c.spellcheck.languages = ['en-US'] + +c.url.default_page = 'https://archlinux.org' +c.url.start_pages = ['https://mastodon.technology', + 'https://twitter.com', + 'https://archlinux.org'] c.url.searchengines = { 'DEFAULT': 'https://duckduckgo.com/html/?q={}' } config.bind('<z><l>', "spawn --userscript qute-pass -u '^user.*:\s(.*)$' -U secret -d dmenu") @@ -25,6 +31,7 @@ config.bind('<Ctrl-Shift-N>', 'completion-item-focus next-category', mode="command") config.bind('<Ctrl-Shift-P>', 'completion-item-focus prev-category', mode="command") config.bind('<z><c>', 'config-edit') +config.bind('<,><z><c>', 'spawn -v my term -e ' + editor + ' .config/qutebrowser/config_local.py') # JavaScript whitelist config.set('content.javascript.enabled', True, 'https://mastodon.technology')