]> git.rmz.io Git - dotfiles.git/blobdiff - qutebrowser/qutebrowser.conf
vim: unindent terminating `)`
[dotfiles.git] / qutebrowser / qutebrowser.conf
index 522cd75c73bda3f128fed584da348b68bc896e73..f836fb8f8c84c1e55de22bddc869386e8e991270 100644 (file)
@@ -27,7 +27,7 @@
 [general]
 # General/miscellaneous options.
 #
-# ignore-case:
+# ignore-case (IgnoreCase):
 #     Whether to find text on a page case-insensitively.
 #         true: Search case-insensitively
 #         false: Search case-sensitively
@@ -48,7 +48,7 @@
 #     `about:blank` for a blank page.
 #     Default: ${startpage}
 #
-# auto-search:
+# auto-search (AutoSearch):
 #     Whether to start a search when something else than a URL is
 #     entered.
 #         naive: Use simple/naive check.
 #     used.
 #     Default:
 #
-# new-instance-open-target:
+# new-instance-open-target (String):
 #     How to open links in an existing instance if a new one is
 #     launched.
 #         tab: Open a new tab in the existing window and activate the
 #         window: Open in a new window.
 #     Default: tab
 #
-# log-javascript-console (Bool):
-#     Whether to log javascript console messages.
-#     Valid values: true, false
-#     Default: false
+# log-javascript-console (String):
+#     How to log javascript console messages.
+#         none: Don't log messages.
+#         debug: Log messages with debug level.
+#         info: Log messages with info level.
+#     Default: debug
 #
 # save-session (Bool):
 #     Whether to always save the open pages.
 #     Valid values: true, false
 #     Default: false
 #
-# session-default-name:
+# session-default-name (SessionName):
 #     The name of the session to save by default, or empty for the last
 #     loaded session.
 #     Default:
 #
-# url-incdec-segments (URLSegmentList):
+# url-incdec-segments (FlagList):
 #     The URL segments where `:navigate increment/decrement` will search
 #     for a number.
 #     Valid values: host, path, query, anchor
@@ -166,7 +168,7 @@ xss-auditing = false
 site-specific-quirks = true
 default-encoding = 
 new-instance-open-target = tab
-log-javascript-console = false
+log-javascript-console = none
 save-session = true
 session-default-name = 
 url-incdec-segments = path,query
@@ -197,7 +199,7 @@ url-incdec-segments = path,query
 #     Valid values: true, false
 #     Default: false
 #
-# confirm-quit:
+# confirm-quit (ConfirmQuit):
 #     Whether to confirm quitting the application.
 #         always: Always show a confirmation.
 #         multiple-tabs: Show a confirmation if multiple tabs are
@@ -223,7 +225,7 @@ url-incdec-segments = path,query
 #     Valid values: true, false
 #     Default: false
 #
-# user-stylesheet:
+# user-stylesheet (UserStyleSheet):
 #     User stylesheet to use (absolute filename, filename relative to
 #     the config directory or CSS string). Will expand environment
 #     variables.
@@ -262,6 +264,7 @@ url-incdec-segments = path,query
 #     otherwise.
 #     * `{id}`: The internal window ID of this window.
 #     * `{scroll_pos}`: The page scroll position.
+#     * `{host}`: The host of the current web page.
 #     Default: {perc}{title}{title_sep}qutebrowser
 #
 # hide-mouse-cursor (Bool):
@@ -278,6 +281,12 @@ url-incdec-segments = path,query
 #     Hide the window decoration when using wayland (requires restart)
 #     Valid values: true, false
 #     Default: false
+#
+# keyhint-blacklist (List):
+#     Keychains that shouldn't be shown in the keyhint dialog
+#     Globs are supported, so ';*' will blacklist all keychainsstarting
+#     with ';'. Use '*' to disable keyhints
+#     Default:
 zoom-levels = 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500%
 default-zoom = 100%
 downloads-position = top
@@ -287,7 +296,7 @@ confirm-quit = downloads
 display-statusbar-messages = false
 zoom-text-only = false
 frame-flattening = false
-user-stylesheet = $$XDG_CONFIG_HOME/qutebrowser/css/default.css
+user-stylesheet = ::-webkit-scrollbar { width: 0px; height: 0px; }
 css-media-type = 
 smooth-scrolling = false
 remove-finished-downloads = -1
@@ -297,6 +306,7 @@ window-title-format = {perc}{title}{title_sep}qutebrowser
 hide-mouse-cursor = false
 modal-js-dialog = false
 hide-wayland-decoration = false
+keyhint-blacklist = 
 
 [network]
 # Settings related to the network.
@@ -310,7 +320,7 @@ hide-wayland-decoration = false
 #     Value to send in the `accept-language` header.
 #     Default: en-US,en
 #
-# referer-header (Referer):
+# referer-header (String):
 #     Send the Referer header
 #         always: Always send.
 #         never: Never send; this is not recommended, as some sites may
@@ -319,11 +329,11 @@ hide-wayland-decoration = false
 #     protect your privacy, but shouldn't break any sites.
 #     Default: same-domain
 #
-# user-agent:
+# user-agent (UserAgent):
 #     User agent to send. Empty to send the default.
 #     Default:
 #
-# proxy:
+# proxy (Proxy):
 #     The proxy to use.
 #     In addition to the listed values, you can use a `socks://...` or
 #     `http://...` URL.
@@ -345,6 +355,10 @@ hide-wayland-decoration = false
 #     Whether to try to pre-fetch DNS entries to speed up browsing.
 #     Valid values: true, false
 #     Default: true
+#
+# custom-headers (HeaderDict):
+#     Set custom headers for qutebrowser HTTP requests.
+#     Default:
 do-not-track = true
 accept-language = en-US,en,de,fr
 referer-header = same-domain
@@ -353,6 +367,7 @@ proxy = system
 proxy-dns-requests = true
 ssl-strict = ask
 dns-prefetch = true
+custom-headers = 
 
 [completion]
 # Options related to completion and command history.
@@ -362,7 +377,7 @@ dns-prefetch = true
 #     Valid values: true, false
 #     Default: true
 #
-# download-path-suggestion:
+# download-path-suggestion (String):
 #     What to display in the download filename input.
 #         path: Show only the download path.
 #         filename: Show only download filename.
@@ -429,11 +444,15 @@ scrollbar-padding = 2
 #
 # timeout (Int):
 #     Timeout for ambiguous key bindings.
+#     If the current input forms both a complete match and a partial
+#     match, the complete match will be executed after this time.
 #     Default: 500
 #
 # partial-timeout (Int):
 #     Timeout for partially typed key bindings.
-#     Default: 1000
+#     If the current input forms only partial matches, the keystring
+#     will be cleared after this time.
+#     Default: 5000
 #
 # insert-mode-on-plugins (Bool):
 #     Whether to switch to insert mode when clicking flash and other
@@ -452,7 +471,7 @@ scrollbar-padding = 2
 #     Valid values: true, false
 #     Default: false
 #
-# forward-unbound-keys:
+# forward-unbound-keys (String):
 #     Whether to forward unbound keys to the webview in normal mode.
 #         all: Forward all unbound keys.
 #         auto: Forward unbound non-alphanumeric keys.
@@ -504,14 +523,14 @@ mouse-zoom-divider = 512
 #     Valid values: true, false
 #     Default: false
 #
-# select-on-remove:
+# select-on-remove (SelectOnRemove):
 #     Which tab to select when the focused tab is removed.
 #         left: Select the tab on the left.
 #         right: Select the tab on the right.
 #         previous: Select the previously selected tab.
 #     Default: right
 #
-# new-tab-position:
+# new-tab-position (NewTabPosition):
 #     How new tabs are positioned.
 #         left: On the left of the current tab.
 #         right: On the right of the current tab.
@@ -519,7 +538,7 @@ mouse-zoom-divider = 512
 #         last: At the right end.
 #     Default: right
 #
-# new-tab-position-explicit:
+# new-tab-position-explicit (NewTabPosition):
 #     How new tabs opened explicitly are positioned.
 #         left: On the left of the current tab.
 #         right: On the right of the current tab.
@@ -527,7 +546,7 @@ mouse-zoom-divider = 512
 #         last: At the right end.
 #     Default: last
 #
-# last-close:
+# last-close (String):
 #     Behavior when the last tab is closed.
 #         ignore: Don't do anything.
 #         blank: Load a blank page.
@@ -536,7 +555,7 @@ mouse-zoom-divider = 512
 #         close: Close the window.
 #     Default: ignore
 #
-# show (TabBarShow):
+# show (String):
 #     When to show the tab bar
 #         always: Always show the tab bar.
 #         never: Always hide the tab bar.
@@ -559,7 +578,7 @@ mouse-zoom-divider = 512
 #     Valid values: true, false
 #     Default: true
 #
-# close-mouse-button:
+# close-mouse-button (String):
 #     On which mouse button to close tabs.
 #         right: Close tabs on right-click.
 #         middle: Close tabs on middle-click.
@@ -601,8 +620,14 @@ mouse-zoom-divider = 512
 #     * `{index}`: The index of this tab.
 #     * `{id}`: The internal tab ID of this tab.
 #     * `{scroll_pos}`: The page scroll position.
+#     * `{host}`: The host of the current web page.
 #     Default: {index}: {title}
 #
+# title-alignment (TextAlignment):
+#     Alignment of the text inside of tabs
+#     Valid values: left, right, center
+#     Default: left
+#
 # mousewheel-tab-switching (Bool):
 #     Switch between tabs using the mouse wheel.
 #     Valid values: true, false
@@ -631,6 +656,7 @@ width = 20%
 indicator-width = 3
 tabs-are-windows = false
 title-format = {index}: {title}
+title-alignment = left
 mousewheel-tab-switching = true
 padding = 0,0,5,5
 indicator-padding = 2,2,0,4
@@ -744,7 +770,7 @@ cache-size = 52428800
 # webgl (Bool):
 #     Enables or disables WebGL.
 #     Valid values: true, false
-#     Default: true
+#     Default: false
 #
 # css-regions (Bool):
 #     Enable or disable support for CSS regions.
@@ -803,7 +829,7 @@ cache-size = 52428800
 #     Valid values: true, false
 #     Default: true
 #
-# cookies-accept:
+# cookies-accept (String):
 #     Control which cookies to accept.
 #         all: Accept all cookies.
 #         no-3rdparty: Accept cookies from the same origin only.
@@ -839,6 +865,13 @@ cache-size = 52428800
 #     to exactly match the requested domain.
 #     Local domains are always exempt from hostblocking.
 #     Default: piwik.org
+#
+# enable-pdfjs (Bool):
+#     Enable pdf.js to view PDF files in the browser.
+#     Note that the files can still be downloaded by clicking the
+#     download button in the pdf.js viewer.
+#     Valid values: true, false
+#     Default: false
 allow-images = true
 allow-javascript = true
 allow-plugins = false
@@ -859,6 +892,7 @@ cookies-store = true
 host-block-lists = http://www.malwaredomainlist.com/hostslist/hosts.txt,http://someonewhocares.org/hosts/hosts,http://winhelp2002.mvps.org/hosts.zip,http://malwaredomains.lehigh.edu/files/justdomains.zip,http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext
 host-blocking-enabled = true
 host-blocking-whitelist = piwik.org
+enable-pdfjs = false
 
 [hints]
 # Hinting settings.
@@ -871,13 +905,15 @@ host-blocking-whitelist = piwik.org
 #     Opacity for hints.
 #     Default: 0.7
 #
-# mode:
+# mode (String):
 #     Mode to use for hints.
 #         number: Use numeric hints.
 #         letter: Use the chars in the hints -> chars setting.
+#         word: Use hints words based on the html elements and the extra
+#     words.
 #     Default: letter
 #
-# chars (String):
+# chars (UniqueCharString):
 #     Chars used for hint strings.
 #     Default: asdfghjkl
 #
@@ -887,7 +923,7 @@ host-blocking-whitelist = piwik.org
 #
 # scatter (Bool):
 #     Whether to scatter hint key chains (like Vimium) or not (like
-#     dwb).
+#     dwb). Ignored for number hints.
 #     Valid values: true, false
 #     Default: true
 #
@@ -896,11 +932,21 @@ host-blocking-whitelist = piwik.org
 #     Valid values: true, false
 #     Default: false
 #
+# dictionary (File):
+#     The dictionary file to be used by the word hints.
+#     Default: /usr/share/dict/words
+#
 # auto-follow (Bool):
-#     Whether to auto-follow a hint if there's only one left.
+#     Follow a hint immediately when the hint text is completely
+#     matched.
 #     Valid values: true, false
 #     Default: true
 #
+# auto-follow-timeout (Int):
+#     A timeout to inhibit normal-mode key bindings after a
+#     successfulauto-follow.
+#     Default: 0
+#
 # next-regexes (RegexList):
 #     A comma-separated list of regexes to use for 'next' links.
 #     Default:
@@ -909,16 +955,25 @@ host-blocking-whitelist = piwik.org
 # prev-regexes (RegexList):
 #     A comma-separated list of regexes to use for 'prev' links.
 #     Default: \bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<|«)\b
+#
+# find-implementation (String):
+#     Which implementation to use to find elements to hint.
+#         javascript: Better but slower
+#         python: Slightly worse but faster
+#     Default: javascript
 border = 1px solid #E3BE23
 opacity = 0.7
 mode = letter
 chars = aoeuidhtns
-min-chars = 1
+min-chars = 2
 scatter = true
 uppercase = true
+dictionary = /usr/share/dict/words
 auto-follow = true
+auto-follow-timeout = 0
 next-regexes = \bnext\b,\bmore\b,\bnewer\b,\b[>→≫]\b,\b(>>|»)\b,\bcontinue\b
 prev-regexes = \bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<|«)\b
+find-implementation = javascript
 
 [searchengines]
 # Definitions of search engines which can be used via the address bar.
@@ -936,6 +991,7 @@ g = ${google}
 wikipedia = http://en.wikipedia.org/w/index.php?title=Special:Search&search={}
 wiki = ${wikipedia}
 pcl = http://docs.pointclouds.org/trunk/search.php?query={}
+std = http://en.cppreference.com/mwiki/index.php?title=Special%3ASearch&search={}
 
 [aliases]
 # Aliases for commands.
@@ -1161,7 +1217,7 @@ exit = quit
 #     Color for the tab indicator on errors..
 #     Default: #ff0000
 #
-# tabs.indicator.system:
+# tabs.indicator.system (ColorSystem):
 #     Color gradient interpolation system for the tab indicator.
 #         rgb: Interpolate in the RGB color system.
 #         hsv: Interpolate in the HSV color system.
@@ -1202,7 +1258,7 @@ exit = quit
 #     Color gradient stop for download backgrounds.
 #     Default: #00aa00
 #
-# downloads.fg.system:
+# downloads.fg.system (ColorSystem):
 #     Color gradient interpolation system for download text.
 #         rgb: Interpolate in the RGB color system.
 #         hsv: Interpolate in the HSV color system.
@@ -1210,7 +1266,7 @@ exit = quit
 #         none: Don't show a gradient.
 #     Default: rgb
 #
-# downloads.bg.system:
+# downloads.bg.system (ColorSystem):
 #     Color gradient interpolation system for download backgrounds.
 #         rgb: Interpolate in the RGB color system.
 #         hsv: Interpolate in the HSV color system.
@@ -1230,6 +1286,18 @@ exit = quit
 #     Background color for webpages if unset (or empty to use the
 #     theme's color)
 #     Default: white
+#
+# keyhint.fg (QssColor):
+#     Text color for the keyhint widget.
+#     Default: #FFFFFF
+#
+# keyhint.fg.suffix (CssColor):
+#     Highlight color for keys to complete the current keychain
+#     Default: #FFFF00
+#
+# keyhint.bg (QssColor):
+#     Background color of the keyhint widget.
+#     Default: rgba(0, 0, 0, 80%)
 completion.fg = white
 completion.bg = #333333
 completion.alternate-bg = #444444
@@ -1293,6 +1361,9 @@ downloads.bg.system = rgb
 downloads.fg.error = white
 downloads.bg.error = red
 webpage.bg = white
+keyhint.fg = #FFFFFF
+keyhint.fg.suffix = #FFFF00
+keyhint.bg = rgba(0, 0, 0, 80%)
 
 [fonts]
 # Fonts used for the UI, with optional style/weight/size.
@@ -1303,8 +1374,8 @@ webpage.bg = white
 # _monospace (Font):
 #     Default monospace fonts.
 #     Default: Terminus, Monospace, "DejaVu Sans Mono", Monaco,
-#     "Bitstream Vera Sans Mono", "Andale Mono", "Liberation Mono",
-#     "Courier New", Courier, monospace, Fixed, Consolas, Terminal
+#     "Bitstream Vera Sans Mono", "Andale Mono", "Courier New", Courier,
+#     "Liberation Mono", monospace, Fixed, Consolas, Terminal
 #
 # completion (Font):
 #     Font used in the completion widget.
@@ -1369,6 +1440,10 @@ webpage.bg = white
 # web-size-default-fixed (Int):
 #     The default font size for fixed-pitch text.
 #     Default:
+#
+# keyhint (Font):
+#     Font used in the keyhint widget.
+#     Default: 8pt ${_monospace}
 _monospace = Terminus, Monospace, "DejaVu Sans Mono", Monaco, "Bitstream Vera Sans Mono", "Andale Mono", "Liberation Mono", "Courier New", Courier, monospace, Fixed, Consolas, Terminal
 completion = 8pt ${_monospace}
 tabbar = 8pt ${_monospace}
@@ -1386,3 +1461,4 @@ web-size-minimum =
 web-size-minimum-logical = 
 web-size-default = 
 web-size-default-fixed = 
+keyhint = 8pt ${_monospace}