From 72803ff6ec9e6f7cb3a53d229dde07904abd8095 Mon Sep 17 00:00:00 2001 From: finga Date: Thu, 16 Jan 2020 20:03:16 +0100 Subject: [PATCH] update config to current version --- .config/qutebrowser/config.py | 286 ++++++++++++++++++++++++++-------- 1 file changed, 224 insertions(+), 62 deletions(-) diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index ba39f0b..58c788e 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -10,7 +10,7 @@ ## Aliases for commands. The keys of the given dictionary are the ## aliases, while the values are the commands they map to. ## Type: Dict -# c.aliases = {'q': 'quit', 'w': 'session-save', 'wq': 'quit --save'} +# c.aliases = {'w': 'session-save', 'q': 'close', 'qa': 'quit', 'wq': 'quit --save', 'wqa': 'quit --save'} ## Time interval (in milliseconds) between auto-saves of ## config/cookies/etc. @@ -42,7 +42,7 @@ c.auto_save.session = True ## when a key is bound (via `bindings.default` or `bindings.commands`), ## the mapping is ignored. ## Type: Dict -# c.bindings.key_mappings = {'': '', '': '', '': '', '': '', '': '', '': '', '': '', '': ''} +# c.bindings.key_mappings = {'': '', '': '', '': '', '': '', '': '', '': '', '': '', '': ''} ## Suppress loading of any default key bindings c.bindings.default = {} @@ -89,7 +89,7 @@ c.bindings.default = {} # c.colors.completion.item.selected.fg = 'black' ## Foreground color of the matched text in the completion. -## Type: QssColor +## Type: QtColor # c.colors.completion.match.fg = '#ff4444' ## Background color of the completion widget for odd rows. @@ -401,6 +401,15 @@ c.completion.cmd_history_max_items = -1 ## Type: Int # c.completion.min_chars = 1 +## Which categories to show (in which order) in the :open completion. +## Type: FlagList +## Valid values: +## - searchengines +## - quickmarks +## - bookmarks +## - history +# c.completion.open_categories = ['searchengines', 'quickmarks', 'bookmarks', 'history'] + ## Move on to the next part when there's only one possible completion ## left. ## Type: Bool @@ -435,10 +444,18 @@ c.completion.cmd_history_max_items = -1 ## Type: Bool # c.completion.use_best_match = False +## A list of patterns which should not be shown in the history. This only +## affects the completion. Matching URLs are still saved in the history +## (and visible on the qute://history page), but hidden in the +## completion. Changing this setting will cause the completion history to +## be regenerated on the next start, which will take a short while. +## Type: List of UrlPattern +# c.completion.web_history.exclude = [] + ## Number of URLs to show in the web history. 0: no history / -1: ## unlimited ## Type: Int -# c.completion.web_history_max_items = -1 +# c.completion.web_history.max_items = -1 ## Require a confirmation before quitting the application. ## Type: ConfirmQuit @@ -447,8 +464,14 @@ c.completion.cmd_history_max_items = -1 ## - multiple-tabs: Show a confirmation if multiple tabs are opened. ## - downloads: Show a confirmation if downloads are running ## - never: Never show a confirmation. +# c.confirm_quit = ['never'] c.confirm_quit = ['always'] +## Automatically start playing `