]> git.rmz.io Git - dotfiles.git/blobdiff - qutebrowser/qutebrowser.conf
vim: add bindings for quit-another-window
[dotfiles.git] / qutebrowser / qutebrowser.conf
index 7c95f9820cfaea0c5238ba509d3b9662b2d8c90b..044894ac1d2364a9242a2f5ac5315bcde8717106 100644 (file)
@@ -2,11 +2,6 @@
 
 # Configfile for qutebrowser.
 #
-# WARNING:
-#
-# This config file will be OVERWRITTEN when closing qutebrowser.
-# Close qutebrowser before changing this file, or YOUR CHANGES WILL BE LOST.
-#
 # This configfile is parsed by python's configparser in extended
 # interpolation mode. The format is very INI-like, so there are
 # categories like [general] with "key = value"-pairs.
 # Interpolation looks like  ${value}  or  ${section:value} and will be
 # replaced by the respective value.
 #
+# Some settings will expand environment variables. Note that, since
+# interpolation is run first, you will need to escape the  $  char as
+# described below.
+#
 # This is the default config, so if you want to remove anything from
-# here (as opposed to change/add), for example a keybinding, set it to
+# here (as opposed to change/add), for example a key binding, set it to
 # an empty value.
 #
 # You will need to escape the following values:
 [general]
 # General/miscellaneous options.
 #
-# ignore-case (bool):
+# ignore-case:
 #     Whether to find text on a page case-insensitively.
 #         true: Search case-insensitively
 #         false: Search case-sensitively
 #         smart: Search case-sensitively if there are capital chars
 #     Default: smart
 #
-# wrap-search (bool):
+# wrap-search (Bool):
 #     Whether to wrap finding text to the top when arriving at the end.
 #     Valid values: true, false
 #     Default: true
 #
-# startpage (string-list):
+# startpage (List):
 #     The default page(s) to open at the start, separated by commas.
 #     Default: https://www.duckduckgo.com
 #
+# default-page (FuzzyUrl):
+#     The page to open if :open -t/-b/-w is used without URL. Use
+#     `about:blank` for a blank page.
+#     Default: ${startpage}
+#
 # auto-search:
 #     Whether to start a search when something else than a URL is
 #     entered.
 #         false: Never search automatically.
 #     Default: naive
 #
-# auto-save-config (bool):
+# auto-save-config (Bool):
 #     Whether to save the config automatically on quit.
 #     Valid values: true, false
 #     Default: true
 #
-# editor (shell-command):
+# auto-save-interval (Int):
+#     How often (in milliseconds) to auto-save config/cookies/etc.
+#     Default: 15000
+#
+# editor (ShellCommand):
 #     The editor (and arguments) to use for the `open-editor` command.
 #     Use `{}` for the filename. The value gets split like in a shell,
 #     so you can use `"` or `'` to quote arguments.
 #     Default: gvim -f "{}"
 #
-# editor-encoding (encoding):
+# editor-encoding (Encoding):
 #     Encoding to use for editor.
 #     Default: utf-8
 #
-# private-browsing (bool):
+# private-browsing (Bool):
 #     Do not record visited pages in the history or store web page
 #     icons.
 #     Valid values: true, false
 #     Default: false
 #
-# developer-extras (bool):
+# developer-extras (Bool):
 #     Enable extra tools for Web developers.
 #     This needs to be enabled for `:inspector` to work and also adds an
 #     _Inspect_ entry to the context menu.
 #     Valid values: true, false
 #     Default: false
 #
-# print-element-backgrounds (bool):
+# print-element-backgrounds (Bool):
 #     Whether the background color and images are also drawn when the
 #     page is printed.
 #     Valid values: true, false
 #     Default: true
 #
-# xss-auditing (bool):
+# xss-auditing (Bool):
 #     Whether load requests should be monitored for cross-site scripting
 #     attempts.
 #     Suspicious scripts will be blocked and reported in the inspector's
 #     Valid values: true, false
 #     Default: false
 #
-# site-specific-quirks (bool):
+# site-specific-quirks (Bool):
 #     Enable workarounds for broken sites.
 #     Valid values: true, false
 #     Default: true
 #
-# default-encoding (string):
+# default-encoding (String):
 #     Default encoding to use for websites.
 #     The encoding must be a string describing an encoding such as
 #     _utf-8_, _iso-8859-1_, etc. If left empty a default value will be
 # new-instance-open-target:
 #     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 it.
+#         tab: Open a new tab in the existing window and activate the
+#     window.
+#         tab-bg: Open a new background tab in the existing window and
+#     activate the window.
 #         tab-silent: Open a new tab in the existing window without
-#     activating it.
+#     activating the window.
+#         tab-bg-silent: Open a new background tab in the existing
+#     window without activating the window.
 #         window: Open in a new window.
-#     Default: window
+#     Default: tab
+#
+# log-javascript-console (Bool):
+#     Whether to log javascript console messages.
+#     Valid values: true, false
+#     Default: false
+#
+# save-session (Bool):
+#     Whether to always save the open pages.
+#     Valid values: true, false
+#     Default: false
+#
+# session-default-name:
+#     The name of the session to save by default, or empty for the last
+#     loaded session.
+#     Default:
 ignore-case = smart
 wrap-search = true
 startpage = https://www.duckduckgo.com
+default-page = ${startpage}
 auto-search = naive
 auto-save-config = true
+auto-save-interval = 15000
 editor = urxvt -e vim "{}"
 editor-encoding = utf-8
 private-browsing = false
@@ -129,24 +159,37 @@ xss-auditing = false
 site-specific-quirks = true
 default-encoding = 
 new-instance-open-target = tab
+log-javascript-console = false
+save-session = true
+session-default-name = 
 
 [ui]
 # General options related to the user interface.
 #
-# zoom-levels (perc-list):
+# zoom-levels (PercList):
 #     The available zoom levels, separated by commas.
 #     Default:
 #     25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500%
 #
-# default-zoom (percentage):
+# default-zoom (Perc):
 #     The default zoom level.
 #     Default: 100%
 #
-# message-timeout (int):
+# downloads-position (VerticalPosition):
+#     Where to show the downloaded files.
+#     Valid values: top, bottom
+#     Default: top
+#
+# message-timeout (Int):
 #     Time (in ms) to show messages in the statusbar for.
 #     Default: 2000
 #
-# confirm-quit (string-list):
+# message-unfocused (Bool):
+#     Whether to show messages in unfocused windows.
+#     Valid values: true, false
+#     Default: false
+#
+# confirm-quit:
 #     Whether to confirm quitting the application.
 #         always: Always show a confirmation.
 #         multiple-tabs: Show a confirmation if multiple tabs are
@@ -155,59 +198,113 @@ new-instance-open-target = tab
 #         never: Never show a confirmation.
 #     Default: never
 #
-# display-statusbar-messages (bool):
+# display-statusbar-messages (Bool):
 #     Whether to display javascript statusbar messages.
 #     Valid values: true, false
 #     Default: false
 #
-# zoom-text-only (bool):
+# zoom-text-only (Bool):
 #     Whether the zoom factor on a frame applies only to the text or to
 #     all content.
 #     Valid values: true, false
 #     Default: false
 #
-# frame-flattening (bool):
+# frame-flattening (Bool):
 #     Whether to  expand each subframe to its contents.
 #     This will flatten all the frames to become one scrollable page.
 #     Valid values: true, false
 #     Default: false
 #
-# user-stylesheet (user-stylesheet):
-#     User stylesheet to use (absolute filename or CSS string).
+# user-stylesheet:
+#     User stylesheet to use (absolute filename, filename relative to
+#     the config directory or CSS string). Will expand environment
+#     variables.
 #     Default: ::-webkit-scrollbar { width: 0px; height: 0px; }
 #
-# css-media-type (string):
+# css-media-type (String):
 #     Set the CSS media type.
 #     Default:
 #
-# remove-finished-downloads (bool):
+# smooth-scrolling (Bool):
+#     Whether to enable smooth scrolling for webpages.
+#     Valid values: true, false
+#     Default: false
+#
+# remove-finished-downloads (Bool):
 #     Whether to remove finished downloads automatically.
 #     Valid values: true, false
 #     Default: false
+#
+# hide-statusbar (Bool):
+#     Whether to hide the statusbar unless a message is shown.
+#     Valid values: true, false
+#     Default: false
+#
+# statusbar-padding (Padding):
+#     Padding for statusbar (top, bottom, left, right).
+#     Default: 1,1,0,0
+#
+# window-title-format (FormatString):
+#     The format to use for the window title. The following placeholders
+#     are defined:
+#     * `{perc}`: The percentage as a string like `[10%]`.
+#     * `{perc_raw}`: The raw percentage, e.g. `10`
+#     * `{title}`: The title of the current web page
+#     * `{title_sep}`: The string ` - ` if a title is set, empty
+#     otherwise.
+#     * `{id}`: The internal window ID of this window.
+#     Default: {perc}{title}{title_sep}qutebrowser
+#
+# hide-mouse-cursor (Bool):
+#     Whether to hide the mouse cursor.
+#     Valid values: true, false
+#     Default: false
+#
+# modal-js-dialog (Bool):
+#     Use standard JavaScript modal dialog for alert() and confirm()
+#     Valid values: true, false
+#     Default: false
 zoom-levels = 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500%
 default-zoom = 100%
+downloads-position = top
 message-timeout = 2000
+message-unfocused = false
 confirm-quit = downloads
 display-statusbar-messages = false
 zoom-text-only = false
 frame-flattening = false
-user-stylesheet = ::-webkit-scrollbar { width: 0px; height: 0px; }
+user-stylesheet = $$XDG_CONFIG_HOME/qutebrowser/css/default.css
 css-media-type = 
+smooth-scrolling = false
 remove-finished-downloads = false
+hide-statusbar = false
+statusbar-padding = 1,1,0,0
+window-title-format = {perc}{title}{title_sep}qutebrowser
+hide-mouse-cursor = false
+modal-js-dialog = false
 
 [network]
 # Settings related to the network.
 #
-# do-not-track (bool):
+# do-not-track (Bool):
 #     Value to send in the `DNT` header.
 #     Valid values: true, false
 #     Default: true
 #
-# accept-language (string):
+# accept-language (String):
 #     Value to send in the `accept-language` header.
 #     Default: en-US,en
 #
-# user-agent (string):
+# referer-header (Referer):
+#     Send the Referer header
+#         always: Always send.
+#         never: Never send; this is not recommended, as some sites may
+#     break.
+#         same-domain: Only send for the same domain. This will still
+#     protect your privacy, but shouldn't break any sites.
+#     Default: same-domain
+#
+# user-agent:
 #     User agent to send. Empty to send the default.
 #     Default:
 #
@@ -219,22 +316,23 @@ remove-finished-downloads = false
 #         none: Don't use any proxy
 #     Default: system
 #
-# proxy-dns-requests (bool):
+# proxy-dns-requests (Bool):
 #     Whether to send DNS requests over the configured proxy.
 #     Valid values: true, false
 #     Default: true
 #
-# ssl-strict (bool):
+# ssl-strict (BoolAsk):
 #     Whether to validate SSL handshakes.
 #     Valid values: true, false, ask
 #     Default: ask
 #
-# dns-prefetch (bool):
+# dns-prefetch (Bool):
 #     Whether to try to pre-fetch DNS entries to speed up browsing.
 #     Valid values: true, false
 #     Default: true
 do-not-track = true
 accept-language = en-US,en,de,fr
+referer-header = same-domain
 user-agent = 
 proxy = system
 proxy-dns-requests = true
@@ -244,57 +342,86 @@ dns-prefetch = true
 [completion]
 # Options related to completion and command history.
 #
-# show (bool):
+# auto-open (Bool):
+#     Automatically open completion when typing.
+#     Valid values: true, false
+#     Default: true
+#
+# download-path-suggestion:
+#     What to display in the download filename input.
+#         path: Show only the download path.
+#         filename: Show only download filename.
+#         both: Show download path and filename.
+#     Default: path
+#
+# timestamp-format (String):
+#     How to format timestamps (e.g. for history)
+#     Default: %Y-%m-%d
+#
+# show (Bool):
 #     Whether to show the autocompletion window.
 #     Valid values: true, false
 #     Default: true
 #
-# height (percentage-or-int):
+# height (PercOrInt):
 #     The height of the completion, in px or as percentage of the
 #     window.
 #     Default: 50%
 #
-# history-length (int):
-#     How many commands to save in the history.
+# cmd-history-max-items (Int):
+#     How many commands to save in the command history.
 #     0: no history / -1: unlimited
 #     Default: 100
 #
-# quick-complete (bool):
+# web-history-max-items (Int):
+#     How many URLs to show in the web history.
+#     0: no history / -1: unlimited
+#     Default: 1000
+#
+# quick-complete (Bool):
 #     Whether to move on to the next part when there's only one possible
 #     completion left.
 #     Valid values: true, false
 #     Default: true
 #
-# shrink (bool):
+# shrink (Bool):
 #     Whether to shrink the completion to be smaller than the configured
 #     size if there are no scrollbars.
 #     Valid values: true, false
 #     Default: false
+auto-open = true
+download-path-suggestion = path
+timestamp-format = %Y-%m-%d
 show = true
 height = 150
-history-length = 100
+cmd-history-max-items = 100
+web-history-max-items = 1000
 quick-complete = false
 shrink = true
 
 [input]
 # Options related to input modes.
 #
-# timeout (int):
-#     Timeout for ambiguous keybindings.
+# timeout (Int):
+#     Timeout for ambiguous key bindings.
 #     Default: 500
 #
-# insert-mode-on-plugins (bool):
+# partial-timeout (Int):
+#     Timeout for partially typed key bindings.
+#     Default: 1000
+#
+# insert-mode-on-plugins (Bool):
 #     Whether to switch to insert mode when clicking flash and other
 #     plugins.
 #     Valid values: true, false
 #     Default: false
 #
-# auto-leave-insert-mode (bool):
+# auto-leave-insert-mode (Bool):
 #     Whether to leave insert mode if a non-editable element is clicked.
 #     Valid values: true, false
 #     Default: true
 #
-# auto-insert-mode (bool):
+# auto-insert-mode (Bool):
 #     Whether to automatically enter insert mode if an editable element
 #     is focused after page load.
 #     Valid values: true, false
@@ -307,8 +434,8 @@ shrink = true
 #         none: Don't forward any keys.
 #     Default: auto
 #
-# spatial-navigation (bool):
-#     Enables or disables the Spatial Navigation feature
+# spatial-navigation (Bool):
+#     Enables or disables the Spatial Navigation feature.
 #     Spatial navigation consists in the ability to navigate between
 #     focusable elements in a Web page, such as hyperlinks and form
 #     controls, by using Left, Right, Up and Down arrow keys. For
@@ -318,22 +445,36 @@ shrink = true
 #     Valid values: true, false
 #     Default: false
 #
-# links-included-in-focus-chain (bool):
+# links-included-in-focus-chain (Bool):
 #     Whether hyperlinks should be included in the keyboard focus chain.
 #     Valid values: true, false
 #     Default: true
+#
+# rocker-gestures (Bool):
+#     Whether to enable Opera-like mouse rocker gestures. This disables
+#     the context menu.
+#     Valid values: true, false
+#     Default: false
+#
+# mouse-zoom-divider (Int):
+#     How much to divide the mouse wheel movements to translate them
+#     into zoom increments.
+#     Default: 512
 timeout = 500
+partial-timeout = 1000
 insert-mode-on-plugins = false
 auto-leave-insert-mode = true
 auto-insert-mode = false
 forward-unbound-keys = auto
 spatial-navigation = false
 links-included-in-focus-chain = true
+rocker-gestures = false
+mouse-zoom-divider = 512
 
 [tabs]
 # Configuration of the tab bar.
 #
-# background-tabs (bool):
+# background-tabs (Bool):
 #     Whether to open new tabs (middleclick/ctrl+click) in background.
 #     Valid values: true, false
 #     Default: false
@@ -354,7 +495,7 @@ links-included-in-focus-chain = true
 #     Default: right
 #
 # new-tab-position-explicit:
-#     How new tabs opened explicitely are positioned.
+#     How new tabs opened explicitly are positioned.
 #         left: On the left of the current tab.
 #         right: On the right of the current tab.
 #         first: At the left end.
@@ -362,23 +503,33 @@ links-included-in-focus-chain = true
 #     Default: last
 #
 # last-close:
-#     Behaviour when the last tab is closed.
+#     Behavior when the last tab is closed.
 #         ignore: Don't do anything.
 #         blank: Load a blank page.
+#         startpage: Load the start page.
+#         default-page: Load the default page.
 #         close: Close the window.
 #     Default: ignore
 #
-# auto-hide (bool):
-#     Hide the tabbar if only one tab is open.
-#     Valid values: true, false
-#     Default: false
+# show (TabBarShow):
+#     When to show the tab bar
+#         always: Always show the tab bar.
+#         never: Always hide the tab bar.
+#         multiple: Hide the tab bar if only one tab is open.
+#         switching: Show the tab bar when switching tabs.
+#     Default: always
+#
+# show-switching-delay (Int):
+#     Time to show the tab bar before hiding it when tabs->show is set
+#     to 'switching'.
+#     Default: 800
 #
-# wrap (bool):
+# wrap (Bool):
 #     Whether to wrap when changing tabs.
 #     Valid values: true, false
 #     Default: true
 #
-# movable (bool):
+# movable (Bool):
 #     Whether tabs should be movable.
 #     Valid values: true, false
 #     Default: true
@@ -390,59 +541,96 @@ links-included-in-focus-chain = true
 #         none: Don't close tabs using the mouse.
 #     Default: middle
 #
-# position:
+# position (Position):
 #     The position of the tab bar.
-#     Valid values: north, south, east, west
-#     Default: north
+#     Valid values: top, bottom, left, right
+#     Default: top
 #
-# show-favicons (bool):
+# show-favicons (Bool):
 #     Whether to show favicons in the tab bar.
 #     Valid values: true, false
 #     Default: true
 #
-# width (percentage-or-int):
+# width (PercOrInt):
 #     The width of the tab bar if it's vertical, in px or as percentage
 #     of the window.
 #     Default: 20%
 #
-# indicator-width (int):
+# indicator-width (Int):
 #     Width of the progress indicator (0 to disable).
 #     Default: 3
 #
-# indicator-space (int):
-#     Spacing between tab edge and indicator.
-#     Default: 3
-#
-# tabs-are-windows (bool):
+# tabs-are-windows (Bool):
 #     Whether to open windows instead of tabs.
 #     Valid values: true, false
 #     Default: false
+#
+# title-format (FormatString):
+#     The format to use for the tab title. The following placeholders
+#     are defined:
+#     * `{perc}`: The percentage as a string like `[10%]`.
+#     * `{perc_raw}`: The raw percentage, e.g. `10`
+#     * `{title}`: The title of the current web page
+#     * `{title_sep}`: The string ` - ` if a title is set, empty
+#     otherwise.
+#     * `{index}`: The index of this tab.
+#     * `{id}`: The internal tab ID of this tab.
+#     Default: {index}: {title}
+#
+# mousewheel-tab-switching (Bool):
+#     Switch between tabs using the mouse wheel.
+#     Valid values: true, false
+#     Default: true
+#
+# padding (Padding):
+#     Padding for tabs (top, bottom, left, right).
+#     Default: 0,0,5,5
+#
+# indicator-padding (Padding):
+#     Padding for indicators (top, bottom, left, right).
+#     Default: 2,2,0,4
 background-tabs = false
 select-on-remove = left
 new-tab-position = right
-new-tab-position-explicit = last
+new-tab-position-explicit = right
 last-close = ignore
-auto-hide = false
+show = always
+show-switching-delay = 800
 wrap = true
 movable = true
 close-mouse-button = middle
-position = north
+position = top
 show-favicons = true
 width = 20%
 indicator-width = 3
-indicator-space = 3
 tabs-are-windows = false
+title-format = {index}: {title}
+mousewheel-tab-switching = true
+padding = 0,0,5,5
+indicator-padding = 2,2,0,4
 
 [storage]
 # Settings related to cache and storage.
 #
-# download-directory (directory):
+# download-directory (Directory):
 #     The directory to save downloads to. An empty value selects a
-#     sensible os-specific default.
+#     sensible os-specific default. Will expand environment variables.
 #     Default:
 #
-# maximum-pages-in-cache (int):
-#     The maximum number of pages to hold in the memory page cache.
+# prompt-download-directory (Bool):
+#     Whether to prompt the user for the download location.
+#     If set to false, 'download-directory' will be used.
+#     Valid values: true, false
+#     Default: true
+#
+# remember-download-directory (Bool):
+#     Whether to remember the last used download directory.
+#     Valid values: true, false
+#     Default: true
+#
+# maximum-pages-in-cache (Int):
+#     The maximum number of pages to hold in the global memory page
+#     cache.
 #     The Page Cache allows for a nicer user experience when navigating
 #     forth or back to pages in the forward/back history, by pausing and
 #     resuming up to _n_ pages.
@@ -450,9 +638,9 @@ tabs-are-windows = false
 #     http://webkit.org/blog/427/webkit-page-cache-i-the-basics/
 #     Default:
 #
-# object-cache-capacities (bytes-list):
-#     The capacities for the memory cache for dead objects such as
-#     stylesheets or scripts. Syntax: cacheMinDeadCapacity,
+# object-cache-capacities (WebKitBytesList):
+#     The capacities for the global memory cache for dead objects such
+#     as stylesheets or scripts. Syntax: cacheMinDeadCapacity,
 #     cacheMaxDead, totalCapacity.
 #     The _cacheMinDeadCapacity_ specifies the minimum number of bytes
 #     that dead objects should consume when the cache is under pressure.
@@ -462,20 +650,20 @@ tabs-are-windows = false
 #     cache should consume *overall*.
 #     Default:
 #
-# offline-storage-default-quota (bytes):
+# offline-storage-default-quota (WebKitBytes):
 #     Default quota for new offline storage databases.
 #     Default:
 #
-# offline-web-application-cache-quota (bytes):
+# offline-web-application-cache-quota (WebKitBytes):
 #     Quota for the offline web application cache.
 #     Default:
 #
-# offline-storage-database (bool):
+# offline-storage-database (Bool):
 #     Whether support for the HTML 5 offline storage feature is enabled.
 #     Valid values: true, false
 #     Default: true
 #
-# offline-web-application-storage (bool):
+# offline-web-application-storage (Bool):
 #     Whether support for the HTML 5 web application cache feature is
 #     enabled.
 #     An application cache acts like an HTTP cache in some sense. For
@@ -487,15 +675,17 @@ tabs-are-windows = false
 #     Valid values: true, false
 #     Default: true
 #
-# local-storage (bool):
+# local-storage (Bool):
 #     Whether support for the HTML 5 local storage feature is enabled.
 #     Valid values: true, false
 #     Default: true
 #
-# cache-size (int):
+# cache-size (Int):
 #     Size of the HTTP network cache.
 #     Default: 52428800
 download-directory = ~/downloads
+prompt-download-directory = true
+remember-download-directory = true
 maximum-pages-in-cache = 
 object-cache-capacities = 
 offline-storage-default-quota = 
@@ -508,62 +698,100 @@ cache-size = 52428800
 [content]
 # Loaded plugins/scripts and allowed actions.
 #
-# allow-images (bool):
+# allow-images (Bool):
 #     Whether images are automatically loaded in web pages.
 #     Valid values: true, false
 #     Default: true
 #
-# allow-javascript (bool):
+# allow-javascript (Bool):
 #     Enables or disables the running of JavaScript programs.
 #     Valid values: true, false
 #     Default: true
 #
-# allow-plugins (bool):
+# allow-plugins (Bool):
 #     Enables or disables plugins in Web pages.
 #     Qt plugins with a mimetype such as "application/x-qt-plugin" are
 #     not affected by this setting.
 #     Valid values: true, false
 #     Default: false
 #
-# javascript-can-open-windows (bool):
+# webgl (Bool):
+#     Enables or disables WebGL.
+#     Valid values: true, false
+#     Default: true
+#
+# css-regions (Bool):
+#     Enable or disable support for CSS regions.
+#     Valid values: true, false
+#     Default: true
+#
+# hyperlink-auditing (Bool):
+#     Enable or disable hyperlink auditing (<a ping>).
+#     Valid values: true, false
+#     Default: false
+#
+# geolocation (BoolAsk):
+#     Allow websites to request geolocations.
+#     Valid values: true, false, ask
+#     Default: ask
+#
+# notifications (BoolAsk):
+#     Allow websites to show notifications.
+#     Valid values: true, false, ask
+#     Default: ask
+#
+# javascript-can-open-windows (Bool):
 #     Whether JavaScript programs can open new windows.
 #     Valid values: true, false
 #     Default: false
 #
-# javascript-can-close-windows (bool):
+# javascript-can-close-windows (Bool):
 #     Whether JavaScript programs can close windows.
 #     Valid values: true, false
 #     Default: false
 #
-# javascript-can-access-clipboard (bool):
+# javascript-can-access-clipboard (Bool):
 #     Whether JavaScript programs can read or write to the clipboard.
 #     Valid values: true, false
 #     Default: false
 #
-# local-content-can-access-remote-urls (bool):
+# ignore-javascript-prompt (Bool):
+#     Whether all javascript prompts should be ignored.
+#     Valid values: true, false
+#     Default: false
+#
+# ignore-javascript-alert (Bool):
+#     Whether all javascript alerts should be ignored.
+#     Valid values: true, false
+#     Default: false
+#
+# local-content-can-access-remote-urls (Bool):
 #     Whether locally loaded documents are allowed to access remote
 #     urls.
 #     Valid values: true, false
 #     Default: false
 #
-# local-content-can-access-file-urls (bool):
+# local-content-can-access-file-urls (Bool):
 #     Whether locally loaded documents are allowed to access other local
 #     urls.
 #     Valid values: true, false
 #     Default: true
 #
 # cookies-accept:
-#     Whether to accept cookies.
-#         default: Default QtWebKit behaviour.
+#     Control which cookies to accept.
+#         all: Accept all cookies.
+#         no-3rdparty: Accept cookies from the same origin only.
+#         no-unknown-3rdparty: Accept cookies from the same origin only,
+#     unless a cookie is already set for the domain.
 #         never: Don't accept cookies at all.
-#     Default: default
+#     Default: no-3rdparty
 #
-# cookies-store (bool):
+# cookies-store (Bool):
 #     Whether to store cookies.
 #     Valid values: true, false
 #     Default: true
 #
-# host-block-lists (url-list):
+# host-block-lists (UrlList):
 #     List of URLs of lists which contain hosts to block.
 #     The file can be in one of the following formats:
 #     - An '/etc/hosts'-like file
@@ -572,26 +800,48 @@ cache-size = 52428800
 #     file named 'hosts' (with any extension).
 #     Default:
 #     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 (Bool):
+#     Whether host blocking is enabled.
+#     Valid values: true, false
+#     Default: true
+#
+# host-blocking-whitelist (List):
+#     List of domains that should always be loaded, despite being
+#     ad-blocked.
+#     Domains may contain * and ? wildcards and are otherwise required
+#     to exactly match the requested domain.
+#     Local domains are always exempt from hostblocking.
+#     Default: piwik.org
 allow-images = true
 allow-javascript = true
 allow-plugins = false
+webgl = true
+css-regions = true
+hyperlink-auditing = false
+geolocation = ask
+notifications = ask
 javascript-can-open-windows = true
 javascript-can-close-windows = true
 javascript-can-access-clipboard = false
+ignore-javascript-prompt = false
+ignore-javascript-alert = false
 local-content-can-access-remote-urls = false
 local-content-can-access-file-urls = true
-cookies-accept = default
+cookies-accept = no-3rdparty
 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
 
 [hints]
 # Hinting settings.
 #
-# border (string):
+# border (String):
 #     CSS border value for hints.
 #     Default: 1px solid #E3BE23
 #
-# opacity (float):
+# opacity (Float):
 #     Opacity for hints.
 #     Default: 0.7
 #
@@ -601,31 +851,44 @@ host-block-lists = http://www.malwaredomainlist.com/hostslist/hosts.txt,http://s
 #         letter: Use the chars in the hints -> chars setting.
 #     Default: letter
 #
-# chars (string):
+# chars (String):
 #     Chars used for hint strings.
 #     Default: asdfghjkl
 #
-# uppercase (bool):
+# min-chars (Int):
+#     Mininum number of chars used for hint strings.
+#     Default: 1
+#
+# scatter (Bool):
+#     Whether to scatter hint key chains (like Vimium) or not (like
+#     dwb).
+#     Valid values: true, false
+#     Default: true
+#
+# uppercase (Bool):
 #     Make chars in hint strings uppercase.
 #     Valid values: true, false
 #     Default: false
 #
-# auto-follow (bool):
+# auto-follow (Bool):
 #     Whether to auto-follow a hint if there's only one left.
 #     Valid values: true, false
 #     Default: true
 #
-# next-regexes (regex-list):
+# next-regexes (RegexList):
 #     A comma-separated list of regexes to use for 'next' links.
-#     Default: \bnext\b,\bmore\b,\bnewer\b,\b[>→≫]\b,\b(>>|»)\b
+#     Default:
+#     \bnext\b,\bmore\b,\bnewer\b,\b[>→≫]\b,\b(>>|»)\b,\bcontinue\b
 #
-# prev-regexes (regex-list):
+# 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
 border = 1px solid #E3BE23
 opacity = 0.7
 mode = letter
 chars = aoeuidhtns
+min-chars = 1
+scatter = true
 uppercase = true
 auto-follow = true
 next-regexes = \bnext\b,\bmore\b,\bnewer\b,\b[>→≫]\b,\b(>>|»)\b
@@ -635,9 +898,10 @@ prev-regexes = \bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<|«)\b
 # Definitions of search engines which can be used via the address bar.
 # The searchengine named `DEFAULT` is used when `general -> auto-search`
 # is true and something else than a URL was entered to be opened. Other
-# search engines can be used via the bang-syntax, e.g. `:open
-# qutebrowser !google`. The string `{}` will be replaced by the search
-# term, use `{{` and `}}` for literal `{`/`}` signs.
+# search engines can be used by prepending the search engine name to the
+# search term, e.g. `:open google qutebrowser`. The string `{}` will be
+# replaced by the search term, use `{{` and `}}` for literal `{`/`}`
+# signs.
 DEFAULT = ${duckduckgo}
 duckduckgo = https://duckduckgo.com/?q={}
 ddg = ${duckduckgo}
@@ -645,12 +909,16 @@ google = https://encrypted.google.com/search?q={}
 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={}
 
 [aliases]
 # Aliases for commands.
 # By default, no aliases are defined. Example which adds a new command
 # `:qtb` to open qutebrowsers website:
 # `qtb = open http://www.qutebrowser.org/`
+quit = close
+q = close
+exit = quit
 
 [colors]
 # Colors used in the UI.
@@ -660,140 +928,188 @@ wiki = ${wikipedia}
 #  * transparent (no color)
 #  * `rgb(r, g, b)` / `rgba(r, g, b, a)` (values 0-255 or percentages)
 #  * `hsv(h, s, v)` / `hsva(h, s, v, a)` (values 0-255, hue 0-359)
-#  * A gradient as explained in http://qt-project.org/doc/qt-4.8/stylesheet-reference.html#list-of-property-types[the Qt documentation] under ``Gradient''.
+#  * A gradient as explained in http://doc.qt.io/qt-5/stylesheet-reference.html#list-of-property-types[the Qt documentation] under ``Gradient''.
+# A *.system value determines the color system to use for color
+# interpolation between similarly-named *.start and *.stop entries,
+# regardless of how they are defined in the options. Valid values are
+# 'rgb', 'hsv', and 'hsl'.
 # The `hints.*` values are a special case as they're real CSS colors, not Qt-CSS colors. There, for a gradient, you need to use `-webkit-gradient`, see https://www.webkit.org/blog/175/introducing-css-gradients/[the WebKit documentation].
 #
-# completion.fg (qcolor):
+# completion.fg (QtColor):
 #     Text color of the completion widget.
 #     Default: white
 #
-# completion.bg (qss-color):
+# completion.bg (QssColor):
 #     Background color of the completion widget.
 #     Default: #333333
 #
-# completion.item.bg (qss-color):
-#     Background color of completion widget items.
-#     Default: ${completion.bg}
+# completion.alternate-bg (QssColor):
+#     Alternating background color of the completion widget.
+#     Default: #444444
 #
-# completion.category.fg (qcolor):
+# completion.category.fg (QtColor):
 #     Foreground color of completion widget category headers.
 #     Default: white
 #
-# completion.category.bg (qss-color):
+# completion.category.bg (QssColor):
 #     Background color of the completion widget category headers.
 #     Default: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #888888,
 #     stop:1 #505050)
 #
-# completion.category.border.top (qss-color):
+# completion.category.border.top (QssColor):
 #     Top border color of the completion widget category headers.
 #     Default: black
 #
-# completion.category.border.bottom (qss-color):
+# completion.category.border.bottom (QssColor):
 #     Bottom border color of the completion widget category headers.
 #     Default: ${completion.category.border.top}
 #
-# completion.item.selected.fg (qcolor):
+# completion.item.selected.fg (QtColor):
 #     Foreground color of the selected completion item.
 #     Default: black
 #
-# completion.item.selected.bg (qss-color):
+# completion.item.selected.bg (QssColor):
 #     Background color of the selected completion item.
 #     Default: #e8c000
 #
-# completion.item.selected.border.top (qss-color):
+# completion.item.selected.border.top (QssColor):
 #     Top border color of the completion widget category headers.
 #     Default: #bbbb00
 #
-# completion.item.selected.border.bottom (qss-color):
+# completion.item.selected.border.bottom (QssColor):
 #     Bottom border color of the selected completion item.
 #     Default: ${completion.item.selected.border.top}
 #
-# completion.match.fg (qss-color):
+# completion.match.fg (QssColor):
 #     Foreground color of the matched text in the completion.
 #     Default: #ff4444
 #
-# statusbar.bg (qss-color):
+# statusbar.fg (QssColor):
 #     Foreground color of the statusbar.
-#     Default: black
+#     Default: white
 #
-# statusbar.fg (qss-color):
+# statusbar.bg (QssColor):
 #     Foreground color of the statusbar.
-#     Default: white
+#     Default: black
+#
+# statusbar.fg.error (QssColor):
+#     Foreground color of the statusbar if there was an error.
+#     Default: ${statusbar.fg}
 #
-# statusbar.bg.error (qss-color):
+# statusbar.bg.error (QssColor):
 #     Background color of the statusbar if there was an error.
 #     Default: red
 #
-# statusbar.bg.prompt (qss-color):
+# statusbar.fg.warning (QssColor):
+#     Foreground color of the statusbar if there is a warning.
+#     Default: ${statusbar.fg}
+#
+# statusbar.bg.warning (QssColor):
+#     Background color of the statusbar if there is a warning.
+#     Default: darkorange
+#
+# statusbar.fg.prompt (QssColor):
+#     Foreground color of the statusbar if there is a prompt.
+#     Default: ${statusbar.fg}
+#
+# statusbar.bg.prompt (QssColor):
 #     Background color of the statusbar if there is a prompt.
 #     Default: darkblue
 #
-# statusbar.bg.insert (qss-color):
+# statusbar.fg.insert (QssColor):
+#     Foreground color of the statusbar in insert mode.
+#     Default: ${statusbar.fg}
+#
+# statusbar.bg.insert (QssColor):
 #     Background color of the statusbar in insert mode.
 #     Default: darkgreen
 #
-# statusbar.progress.bg (qss-color):
+# statusbar.fg.command (QssColor):
+#     Foreground color of the statusbar in command mode.
+#     Default: ${statusbar.fg}
+#
+# statusbar.bg.command (QssColor):
+#     Background color of the statusbar in command mode.
+#     Default: ${statusbar.bg}
+#
+# statusbar.fg.caret (QssColor):
+#     Foreground color of the statusbar in caret mode.
+#     Default: ${statusbar.fg}
+#
+# statusbar.bg.caret (QssColor):
+#     Background color of the statusbar in caret mode.
+#     Default: purple
+#
+# statusbar.fg.caret-selection (QssColor):
+#     Foreground color of the statusbar in caret mode with a selection
+#     Default: ${statusbar.fg}
+#
+# statusbar.bg.caret-selection (QssColor):
+#     Background color of the statusbar in caret mode with a selection
+#     Default: #a12dff
+#
+# statusbar.progress.bg (QssColor):
 #     Background color of the progress bar.
 #     Default: white
 #
-# statusbar.url.fg (qss-color):
+# statusbar.url.fg (QssColor):
 #     Default foreground color of the URL in the statusbar.
 #     Default: ${statusbar.fg}
 #
-# statusbar.url.fg.success (qss-color):
+# statusbar.url.fg.success (QssColor):
 #     Foreground color of the URL in the statusbar on successful load.
 #     Default: lime
 #
-# statusbar.url.fg.error (qss-color):
+# statusbar.url.fg.error (QssColor):
 #     Foreground color of the URL in the statusbar on error.
 #     Default: orange
 #
-# statusbar.url.fg.warn (qss-color):
+# statusbar.url.fg.warn (QssColor):
 #     Foreground color of the URL in the statusbar when there's a
 #     warning.
 #     Default: yellow
 #
-# statusbar.url.fg.hover (qss-color):
+# statusbar.url.fg.hover (QssColor):
 #     Foreground color of the URL in the statusbar for hovered links.
 #     Default: aqua
 #
-# tabs.fg.odd (qcolor):
+# tabs.fg.odd (QtColor):
 #     Foreground color of unselected odd tabs.
 #     Default: white
 #
-# tabs.fg.even (qcolor):
-#     Foreground color of unselected even tabs.
-#     Default: white
-#
-# tabs.fg.selected (qcolor):
-#     Foreground color of selected tabs.
-#     Default: white
-#
-# tabs.bg.odd (qcolor):
+# tabs.bg.odd (QtColor):
 #     Background color of unselected odd tabs.
 #     Default: grey
 #
-# tabs.bg.even (qcolor):
+# tabs.fg.even (QtColor):
+#     Foreground color of unselected even tabs.
+#     Default: white
+#
+# tabs.bg.even (QtColor):
 #     Background color of unselected even tabs.
 #     Default: darkgrey
 #
-# tabs.bg.selected (qcolor):
+# tabs.fg.selected (QtColor):
+#     Foreground color of selected tabs.
+#     Default: white
+#
+# tabs.bg.selected (QtColor):
 #     Background color of selected tabs.
 #     Default: black
 #
-# tabs.bg.bar (qcolor):
-#     Background color of the tabbar.
+# tabs.bg.bar (QtColor):
+#     Background color of the tab bar.
 #     Default: #555555
 #
-# tabs.indicator.start (qcolor):
+# tabs.indicator.start (QtColor):
 #     Color gradient start for the tab indicator.
 #     Default: #0000aa
 #
-# tabs.indicator.stop (qcolor):
+# tabs.indicator.stop (QtColor):
 #     Color gradient end for the tab indicator.
 #     Default: #00aa00
 #
-# tabs.indicator.error (qcolor):
+# tabs.indicator.error (QtColor):
 #     Color for the tab indicator on errors..
 #     Default: #ff0000
 #
@@ -804,52 +1120,68 @@ wiki = ${wikipedia}
 #         hsl: Interpolate in the HSL color system.
 #     Default: rgb
 #
-# tabs.seperator (qss-color):
-#     Color for the tab seperator.
-#     Default: #555555
-#
-# hints.fg (css-color):
+# hints.fg (CssColor):
 #     Font color for hints.
 #     Default: black
 #
-# hints.fg.match (css-color):
-#     Font color for the matched part of hints.
-#     Default: green
-#
-# hints.bg (css-color):
+# hints.bg (CssColor):
 #     Background color for hints.
 #     Default: -webkit-gradient(linear, left top, left bottom,
 #     color-stop(0%,#FFF785), color-stop(100%,#FFC542))
 #
-# downloads.fg (qcolor):
-#     Foreground color for downloads.
-#     Default: #ffffff
+# hints.fg.match (CssColor):
+#     Font color for the matched part of hints.
+#     Default: green
 #
-# downloads.bg.bar (qss-color):
+# downloads.bg.bar (QssColor):
 #     Background color for the download bar.
 #     Default: black
 #
-# downloads.bg.start (qcolor):
-#     Color gradient start for downloads.
+# downloads.fg.start (QtColor):
+#     Color gradient start for download text.
+#     Default: white
+#
+# downloads.bg.start (QtColor):
+#     Color gradient start for download backgrounds.
 #     Default: #0000aa
 #
-# downloads.bg.stop (qcolor):
-#     Color gradient end for downloads.
+# downloads.fg.stop (QtColor):
+#     Color gradient end for download text.
+#     Default: ${downloads.fg.start}
+#
+# downloads.bg.stop (QtColor):
+#     Color gradient stop for download backgrounds.
 #     Default: #00aa00
 #
+# downloads.fg.system:
+#     Color gradient interpolation system for download text.
+#         rgb: Interpolate in the RGB color system.
+#         hsv: Interpolate in the HSV color system.
+#         hsl: Interpolate in the HSL color system.
+#     Default: rgb
+#
 # downloads.bg.system:
-#     Color gradient interpolation system for downloads.
+#     Color gradient interpolation system for download backgrounds.
 #         rgb: Interpolate in the RGB color system.
 #         hsv: Interpolate in the HSV color system.
 #         hsl: Interpolate in the HSL color system.
 #     Default: rgb
 #
-# downloads.bg.error (qcolor):
+# downloads.fg.error (QtColor):
+#     Foreground color for downloads with errors.
+#     Default: white
+#
+# downloads.bg.error (QtColor):
 #     Background color for downloads with errors.
 #     Default: red
+#
+# webpage.bg (QtColor):
+#     Background color for webpages if unset (or empty to use the
+#     theme's color)
+#     Default: white
 completion.fg = white
 completion.bg = #333333
-completion.item.bg = ${completion.bg}
+completion.alternate-bg = #444444
 completion.category.fg = white
 completion.category.bg = qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #888888, stop:1 #505050)
 completion.category.border.top = black
@@ -859,11 +1191,22 @@ completion.item.selected.bg = #e8c000
 completion.item.selected.border.top = #bbbb00
 completion.item.selected.border.bottom = ${completion.item.selected.border.top}
 completion.match.fg = #ff4444
-statusbar.bg = black
 statusbar.fg = white
+statusbar.bg = black
+statusbar.fg.error = ${statusbar.fg}
 statusbar.bg.error = red
+statusbar.fg.warning = ${statusbar.fg}
+statusbar.bg.warning = darkorange
+statusbar.fg.prompt = ${statusbar.fg}
 statusbar.bg.prompt = darkblue
+statusbar.fg.insert = ${statusbar.fg}
 statusbar.bg.insert = darkgreen
+statusbar.fg.command = ${statusbar.fg}
+statusbar.bg.command = ${statusbar.bg}
+statusbar.fg.caret = ${statusbar.fg}
+statusbar.bg.caret = purple
+statusbar.fg.caret-selection = ${statusbar.fg}
+statusbar.bg.caret-selection = #a12dff
 statusbar.progress.bg = white
 statusbar.url.fg = ${statusbar.fg}
 statusbar.url.fg.success = lime
@@ -871,26 +1214,29 @@ statusbar.url.fg.error = orange
 statusbar.url.fg.warn = yellow
 statusbar.url.fg.hover = aqua
 tabs.fg.odd = white
-tabs.fg.even = white
-tabs.fg.selected = white
 tabs.bg.odd = grey
+tabs.fg.even = white
 tabs.bg.even = darkgrey
+tabs.fg.selected = white
 tabs.bg.selected = black
 tabs.bg.bar = #555555
 tabs.indicator.start = #0000aa
 tabs.indicator.stop = #00aa00
 tabs.indicator.error = #ff0000
 tabs.indicator.system = rgb
-tabs.seperator = #555555
 hints.fg = black
-hints.fg.match = green
 hints.bg = -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFF785), color-stop(100%,#FFC542))
-downloads.fg = #ffffff
+hints.fg.match = green
 downloads.bg.bar = black
+downloads.fg.start = #ffffff
 downloads.bg.start = #0000aa
+downloads.fg.stop = ${downloads.fg.start}
 downloads.bg.stop = #00aa00
+downloads.fg.system = rgb
 downloads.bg.system = rgb
+downloads.fg.error = white
 downloads.bg.error = red
+webpage.bg = white
 
 [fonts]
 # Fonts used for the UI, with optional style/weight/size.
@@ -898,73 +1244,73 @@ downloads.bg.error = red
 #  * Weight: `normal`, `bold`, `100`..`900`
 #  * Size: _number_ `px`/`pt`
 #
-# _monospace (font):
+# _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
 #
-# completion (font):
+# completion (Font):
 #     Font used in the completion widget.
-#     Default: 8pt ${_monospace}
+#     Default: 10pt ${_monospace}
 #
-# tabbar (font):
-#     Font used in the tabbar.
-#     Default: 8pt ${_monospace}
+# tabbar (QtFont):
+#     Font used in the tab bar.
+#     Default: 10pt ${_monospace}
 #
-# statusbar (font):
+# statusbar (Font):
 #     Font used in the statusbar.
-#     Default: 8pt ${_monospace}
+#     Default: 10pt ${_monospace}
 #
-# downloads (font):
+# downloads (Font):
 #     Font used for the downloadbar.
-#     Default: 8pt ${_monospace}
+#     Default: 10pt ${_monospace}
 #
-# hints (font):
+# hints (Font):
 #     Font used for the hints.
-#     Default: bold 12px Monospace
+#     Default: bold 13px Monospace
 #
-# debug-console (font):
+# debug-console (QtFont):
 #     Font used for the debugging console.
-#     Default: 8pt ${_monospace}
+#     Default: 10pt ${_monospace}
 #
-# web-family-standard (string):
+# web-family-standard (FontFamily):
 #     Font family for standard fonts.
 #     Default:
 #
-# web-family-fixed (string):
+# web-family-fixed (FontFamily):
 #     Font family for fixed fonts.
 #     Default:
 #
-# web-family-serif (string):
+# web-family-serif (FontFamily):
 #     Font family for serif fonts.
 #     Default:
 #
-# web-family-sans-serif (string):
+# web-family-sans-serif (FontFamily):
 #     Font family for sans-serif fonts.
 #     Default:
 #
-# web-family-cursive (string):
+# web-family-cursive (FontFamily):
 #     Font family for cursive fonts.
 #     Default:
 #
-# web-family-fantasy (string):
+# web-family-fantasy (FontFamily):
 #     Font family for fantasy fonts.
 #     Default:
 #
-# web-size-minimum (int):
+# web-size-minimum (Int):
 #     The hard minimum font size.
 #     Default:
 #
-# web-size-minimum-logical (int):
+# web-size-minimum-logical (Int):
 #     The minimum logical font size that is applied when zooming out.
 #     Default:
 #
-# web-size-default (int):
+# web-size-default (Int):
 #     The default font size for regular text.
 #     Default:
 #
-# web-size-default-fixed (int):
+# web-size-default-fixed (Int):
 #     The default font size for fixed-pitch text.
 #     Default:
 _monospace = Terminus, Monospace, "DejaVu Sans Mono", Monaco, "Bitstream Vera Sans Mono", "Andale Mono", "Liberation Mono", "Courier New", Courier, monospace, Fixed, Consolas, Terminal