update config to current version
This commit is contained in:
parent
30f218e8cc
commit
72803ff6ec
1 changed files with 224 additions and 62 deletions
|
@ -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 = {'<Shift-Return>': '<Return>', '<Shift-Enter>': '<Return>', '<Ctrl-[>': '<Escape>', '<Ctrl-6>': '<Ctrl-^>', '<Ctrl-J>': '<Return>', '<Ctrl-Enter>': '<Ctrl-Return>', '<Enter>': '<Return>', '<Ctrl-M>': '<Return>'}
|
||||
# c.bindings.key_mappings = {'<Ctrl-[>': '<Escape>', '<Ctrl-6>': '<Ctrl-^>', '<Ctrl-M>': '<Return>', '<Ctrl-J>': '<Return>', '<Shift-Return>': '<Return>', '<Enter>': '<Return>', '<Shift-Enter>': '<Return>', '<Ctrl-Enter>': '<Ctrl-Return>'}
|
||||
|
||||
## 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 `<video>` elements. Note: On Qt < 5.11,
|
||||
## this option needs a restart and does not support URL patterns.
|
||||
## Type: Bool
|
||||
# c.content.autoplay = True
|
||||
|
||||
## Enable support for the HTML 5 web application cache feature. An
|
||||
## application cache acts like an HTTP cache in some sense. For documents
|
||||
## that use the application cache via JavaScript, the loader engine will
|
||||
|
@ -471,14 +494,20 @@ c.confirm_quit = ['always']
|
|||
## Type: Int
|
||||
# c.content.cache.size = None
|
||||
|
||||
## Allow websites to read canvas elements. Note this is needed for some
|
||||
## websites to work properly.
|
||||
## Type: Bool
|
||||
# c.content.canvas_reading = True
|
||||
|
||||
## Which cookies to accept.
|
||||
## Type: String
|
||||
## Valid values:
|
||||
## - 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.
|
||||
## - no-3rdparty: Accept cookies from the same origin only. This is known to break some sites, such as GMail.
|
||||
## - no-unknown-3rdparty: Accept cookies from the same origin only, unless a cookie is already set for the domain. On QtWebEngine, this is the same as no-3rdparty.
|
||||
## - never: Don't accept cookies at all.
|
||||
# c.content.cookies.accept = 'no-3rdparty'
|
||||
# c.content.cookies.accept = 'all'
|
||||
c.content.cookies.accept = 'no-3rdparty'
|
||||
|
||||
## Store cookies. Note this option needs a restart with QtWebEngine on Qt
|
||||
## < 5.9.
|
||||
|
@ -490,12 +519,14 @@ c.confirm_quit = ['always']
|
|||
## Type: String
|
||||
# c.content.default_encoding = 'iso-8859-1'
|
||||
|
||||
## 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. For QtWebEngine, see `--enable-webengine-inspector` in
|
||||
## `qutebrowser --help` instead.
|
||||
## Type: Bool
|
||||
# c.content.developer_extras = False
|
||||
## Allow websites to share screen content. On Qt < 5.10, a dialog box is
|
||||
## always displayed, even if this is set to "true".
|
||||
## Type: BoolAsk
|
||||
## Valid values:
|
||||
## - true
|
||||
## - false
|
||||
## - ask
|
||||
# c.content.desktop_capture = 'ask'
|
||||
|
||||
## Try to pre-fetch DNS entries to speed up browsing.
|
||||
## Type: Bool
|
||||
|
@ -512,9 +543,11 @@ c.content.dns_prefetch = False
|
|||
## - true
|
||||
## - false
|
||||
## - ask
|
||||
# c.content.geolocation = 'ask'
|
||||
c.content.geolocation = False
|
||||
|
||||
## Value to send in the `Accept-Language` header.
|
||||
## Value to send in the `Accept-Language` header. Note that the value
|
||||
## read from JavaScript is always the global value.
|
||||
## Type: String
|
||||
# c.content.headers.accept_language = 'en-US,en'
|
||||
|
||||
|
@ -526,18 +559,20 @@ c.content.geolocation = False
|
|||
## qutebrowser asks websites to not track your identity. If set to null,
|
||||
## the DNT header is not sent at all.
|
||||
## Type: Bool
|
||||
c.content.headers.do_not_track = True
|
||||
# c.content.headers.do_not_track = True
|
||||
|
||||
## When to send the Referer header. The Referer header tells websites
|
||||
## from which website you were coming from when visiting them.
|
||||
## from which website you were coming from when visiting them. No restart
|
||||
## is needed with QtWebKit.
|
||||
## Type: String
|
||||
## Valid values:
|
||||
## - always: Always send the Referer.
|
||||
## - never: Never send the Referer. This is not recommended, as some sites may break.
|
||||
## - same-domain: Only send the Referer for the same domain. This will still protect your privacy, but shouldn't break any sites.
|
||||
## - same-domain: Only send the Referer for the same domain. This will still protect your privacy, but shouldn't break any sites. With QtWebEngine, the referer will still be sent for other domains, but with stripped path information.
|
||||
# c.content.headers.referer = 'same-domain'
|
||||
|
||||
## User agent to send. Unset to send the default.
|
||||
## User agent to send. Unset to send the default. Note that the value
|
||||
## read from JavaScript is always the global value.
|
||||
## Type: String
|
||||
# c.content.headers.user_agent = None
|
||||
|
||||
|
@ -548,15 +583,22 @@ c.content.headers.do_not_track = True
|
|||
## 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 - One
|
||||
## host per line - A zip-file of any of the above, with either only one
|
||||
## file, or a file named `hosts` (with any extension).
|
||||
## file, or a file named `hosts` (with any extension). It's also
|
||||
## possible to add a local file or directory via a `file://` URL. In case
|
||||
## of a directory, all files in the directory are read as adblock lists.
|
||||
## The file `~/.config/qutebrowser/blocked-hosts` is always read if it
|
||||
## exists.
|
||||
## Type: List of Url
|
||||
# c.content.host_blocking.lists = ['https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts']
|
||||
|
||||
## 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.
|
||||
## Type: List of String
|
||||
## A list of patterns that should always be loaded, despite being ad-
|
||||
## blocked. Note this whitelists blocked hosts, not first-party URLs. As
|
||||
## an example, if `example.org` loads an ad from `ads.example.org`, the
|
||||
## whitelisted host should be `ads.example.org`. If you want to disable
|
||||
## the adblocker on a given page, use the `content.host_blocking.enabled`
|
||||
## setting with a URL pattern instead. Local domains are always exempt
|
||||
## from hostblocking.
|
||||
## Type: List of UrlPattern
|
||||
# c.content.host_blocking.whitelist = ['piwik.org']
|
||||
|
||||
## Enable hyperlink auditing (`<a ping>`).
|
||||
|
@ -594,7 +636,7 @@ c.content.headers.do_not_track = True
|
|||
## logged, the corresponding dictionary value selects the qutebrowser
|
||||
## logger to use. On QtWebKit, the "unknown" setting is always used.
|
||||
## Type: Dict
|
||||
# c.content.javascript.log = {'warning': 'debug', 'info': 'debug', 'unknown': 'debug', 'error': 'debug'}
|
||||
# c.content.javascript.log = {'unknown': 'debug', 'info': 'debug', 'warning': 'debug', 'error': 'debug'}
|
||||
|
||||
## Use the standard JavaScript modal dialog for `alert()` and
|
||||
## `confirm()`.
|
||||
|
@ -623,7 +665,21 @@ c.content.headers.do_not_track = True
|
|||
## - true
|
||||
## - false
|
||||
## - ask
|
||||
c.content.media_capture = False
|
||||
# c.content.media_capture = 'ask'
|
||||
|
||||
## Allow websites to lock your mouse pointer.
|
||||
## Type: BoolAsk
|
||||
## Valid values:
|
||||
## - true
|
||||
## - false
|
||||
## - ask
|
||||
# c.content.mouse_lock = 'ask'
|
||||
|
||||
## Automatically mute tabs. Note that if the `:tab-mute` command is used,
|
||||
## the mute status for the affected tab is now controlled manually, and
|
||||
## this setting doesn't have any effect.
|
||||
## Type: Bool
|
||||
# c.content.mute = False
|
||||
|
||||
## Netrc-file for HTTP authentication. If unset, `~/.netrc` is used.
|
||||
## Type: File
|
||||
|
@ -643,6 +699,15 @@ c.content.media_capture = False
|
|||
## Type: Bool
|
||||
# c.content.pdfjs = False
|
||||
|
||||
## Allow websites to request persistent storage quota via
|
||||
## `navigator.webkitPersistentStorage.requestQuota`.
|
||||
## Type: BoolAsk
|
||||
## Valid values:
|
||||
## - true
|
||||
## - false
|
||||
## - ask
|
||||
# c.content.persistent_storage = 'ask'
|
||||
|
||||
## Enable plugins in Web pages.
|
||||
## Type: Bool
|
||||
# c.content.plugins = False
|
||||
|
@ -668,6 +733,15 @@ c.content.media_capture = False
|
|||
## Type: Bool
|
||||
# c.content.proxy_dns_requests = True
|
||||
|
||||
## Allow websites to register protocol handlers via
|
||||
## `navigator.registerProtocolHandler`.
|
||||
## Type: BoolAsk
|
||||
## Valid values:
|
||||
## - true
|
||||
## - false
|
||||
## - ask
|
||||
# c.content.register_protocol_handler = 'ask'
|
||||
|
||||
## Validate SSL handshakes.
|
||||
## Type: BoolAsk
|
||||
## Valid values:
|
||||
|
@ -684,6 +758,16 @@ c.content.media_capture = False
|
|||
## Type: Bool
|
||||
# c.content.webgl = True
|
||||
|
||||
## Which interfaces to expose via WebRTC. On Qt 5.10, this option doesn't
|
||||
## work because of a Qt bug.
|
||||
## Type: String
|
||||
## Valid values:
|
||||
## - all-interfaces: WebRTC has the right to enumerate all interfaces and bind them to discover public interfaces.
|
||||
## - default-public-and-private-interfaces: WebRTC should only use the default route used by http. This also exposes the associated default private address. Default route is the route chosen by the OS on a multi-homed endpoint.
|
||||
## - default-public-interface-only: WebRTC should only use the default route used by http. This doesn't expose any local addresses.
|
||||
## - disable-non-proxied-udp: WebRTC should only use TCP to contact peers or servers unless the proxy server supports UDP. This doesn't expose any local addresses either.
|
||||
# c.content.webrtc_ip_handling_policy = 'all-interfaces'
|
||||
|
||||
## Limit fullscreen to the browser window (does not expand to fill the
|
||||
## screen).
|
||||
## Type: Bool
|
||||
|
@ -691,9 +775,9 @@ c.content.media_capture = False
|
|||
|
||||
## Monitor load requests for cross-site scripting attempts. Suspicious
|
||||
## scripts will be blocked and reported in the inspector's JavaScript
|
||||
## console. Enabling this feature might have an impact on performance.
|
||||
## console.
|
||||
## Type: Bool
|
||||
# c.content.xss_auditing = False
|
||||
# c.content.xss_auditing = True
|
||||
|
||||
## Directory to save downloads to. If unset, a sensible OS-specific
|
||||
## default is used.
|
||||
|
@ -707,7 +791,7 @@ c.content.media_capture = False
|
|||
|
||||
## Remember the last used download directory.
|
||||
## Type: Bool
|
||||
c.downloads.location.remember = False
|
||||
# c.downloads.location.remember = True
|
||||
|
||||
## What to display in the download filename input.
|
||||
## Type: String
|
||||
|
@ -905,6 +989,11 @@ c.editor.command = ['em', '{file}']
|
|||
## Type: Bool
|
||||
# c.hints.scatter = True
|
||||
|
||||
## CSS selectors used to determine which elements on a page should have
|
||||
## hints.
|
||||
## Type: Dict
|
||||
# c.hints.selectors = {'all': ['a', 'area', 'textarea', 'select', 'input:not([type="hidden"])', 'button', 'frame', 'iframe', 'img', 'link', 'summary', '[onclick]', '[onmousedown]', '[role="link"]', '[role="option"]', '[role="button"]', '[ng-click]', '[ngClick]', '[data-ng-click]', '[x-ng-click]', '[tabindex]'], 'links': ['a[href]', 'area[href]', 'link[href]', '[role="link"][href]'], 'images': ['img'], 'media': ['audio', 'img', 'video'], 'url': ['[src]', '[href]'], 'inputs': ['input[type="text"]', 'input[type="date"]', 'input[type="datetime-local"]', 'input[type="email"]', 'input[type="month"]', 'input[type="number"]', 'input[type="password"]', 'input[type="search"]', 'input[type="tel"]', 'input[type="time"]', 'input[type="url"]', 'input[type="week"]', 'input:not([type])', 'textarea']}
|
||||
|
||||
## Make characters in hint strings uppercase.
|
||||
## Type: Bool
|
||||
# c.hints.uppercase = False
|
||||
|
@ -916,6 +1005,10 @@ c.editor.command = ['em', '{file}']
|
|||
## Type: Int
|
||||
# c.history_gap_interval = 30
|
||||
|
||||
## Allow Escape to quit the crash reporter.
|
||||
## Type: Bool
|
||||
# c.input.escape_quits_reporter = True
|
||||
|
||||
## Which unbound keys to forward to the webview in normal mode.
|
||||
## Type: String
|
||||
## Valid values:
|
||||
|
@ -926,17 +1019,23 @@ c.input.forward_unbound_keys = 'all'
|
|||
|
||||
## Enter insert mode if an editable element is clicked.
|
||||
## Type: Bool
|
||||
# c.input.insert_mode.auto_enter = False
|
||||
# c.input.insert_mode.auto_enter = True
|
||||
|
||||
## Leave insert mode if a non-editable element is clicked.
|
||||
## Type: Bool
|
||||
# c.input.insert_mode.auto_leave = False
|
||||
# c.input.insert_mode.auto_leave = True
|
||||
|
||||
## Automatically enter insert mode if an editable element is focused
|
||||
## after loading the page.
|
||||
## Type: Bool
|
||||
# c.input.insert_mode.auto_load = False
|
||||
|
||||
## Leave insert mode when starting a new page load. Patterns may be
|
||||
## unreliable on this setting, and they may match the url you are
|
||||
## navigating to, or the URL you are navigating from.
|
||||
## Type: Bool
|
||||
# c.input.insert_mode.leave_on_load = True
|
||||
|
||||
## Switch to insert mode when clicking flash and other plugins.
|
||||
## Type: Bool
|
||||
# c.input.insert_mode.plugins = False
|
||||
|
@ -1030,9 +1129,15 @@ c.input.forward_unbound_keys = 'all'
|
|||
# c.qt.force_platform = None
|
||||
|
||||
## Force software rendering for QtWebEngine. This is needed for
|
||||
## QtWebEngine to work with Nouveau drivers.
|
||||
## Type: Bool
|
||||
# c.qt.force_software_rendering = False
|
||||
## QtWebEngine to work with Nouveau drivers and can be useful in other
|
||||
## scenarios related to graphic issues.
|
||||
## Type: String
|
||||
## Valid values:
|
||||
## - software-opengl: Tell LibGL to use a software implementation of GL (`LIBGL_ALWAYS_SOFTWARE` / `QT_XCB_FORCE_SOFTWARE_OPENGL`)
|
||||
## - qt-quick: Tell Qt Quick to use a software renderer instead of OpenGL. (`QT_QUICK_BACKEND=software`)
|
||||
## - chromium: Tell Chromium to disable GPU support and use Skia software rendering instead. (`--disable-gpu`)
|
||||
## - none: Don't force software rendering.
|
||||
# c.qt.force_software_rendering = 'none'
|
||||
|
||||
## Turn on Qt HighDPI scaling. This is equivalent to setting
|
||||
## QT_AUTO_SCREEN_SCALE_FACTOR=1 in the environment. It's off by default
|
||||
|
@ -1041,9 +1146,34 @@ c.input.forward_unbound_keys = 'all'
|
|||
## Type: Bool
|
||||
# c.qt.highdpi = False
|
||||
|
||||
## Show a scrollbar.
|
||||
## Type: Bool
|
||||
# c.scrolling.bar = False
|
||||
## When to use Chromium's low-end device mode. This improves the RAM
|
||||
## usage of renderer processes, at the expense of performance.
|
||||
## Type: String
|
||||
## Valid values:
|
||||
## - always: Always use low-end device mode.
|
||||
## - auto: Decide automatically (uses low-end mode with < 1 GB available RAM).
|
||||
## - never: Never use low-end device mode.
|
||||
# c.qt.low_end_device_mode = 'auto'
|
||||
|
||||
## Which Chromium process model to use. Alternative process models use
|
||||
## less resources, but decrease security and robustness. See the
|
||||
## following pages for more details: -
|
||||
## https://www.chromium.org/developers/design-documents/process-models
|
||||
## - https://doc.qt.io/qt-5/qtwebengine-features.html#process-models
|
||||
## Type: String
|
||||
## Valid values:
|
||||
## - process-per-site-instance: Pages from separate sites are put into separate processes and separate visits to the same site are also isolated.
|
||||
## - process-per-site: Pages from separate sites are put into separate processes. Unlike Process per Site Instance, all visits to the same site will share an OS process. The benefit of this model is reduced memory consumption, because more web pages will share processes. The drawbacks include reduced security, robustness, and responsiveness.
|
||||
## - single-process: Run all tabs in a single process. This should be used for debugging purposes only, and it disables `:open --private`.
|
||||
# c.qt.process_model = 'process-per-site-instance'
|
||||
|
||||
## When to show the scrollbar.
|
||||
## Type: String
|
||||
## Valid values:
|
||||
## - always: Always show the scrollbar.
|
||||
## - never: Never show the scrollbar.
|
||||
## - when-searching: Show the scrollbar when searching for text in the webpage. With the QtWebKit backend, this is equal to `never`.
|
||||
# c.scrolling.bar = 'when-searching'
|
||||
|
||||
## Enable smooth scrolling for web pages. Note smooth scrolling does not
|
||||
## work with the `:scroll-px` command.
|
||||
|
@ -1051,12 +1181,12 @@ c.input.forward_unbound_keys = 'all'
|
|||
# c.scrolling.smooth = False
|
||||
|
||||
## When to find text on a page case-insensitively.
|
||||
## Type: String
|
||||
## Type: IgnoreCase
|
||||
## Valid values:
|
||||
## - always: Search case-insensitively.
|
||||
## - never: Search case-sensitively.
|
||||
## - smart: Search case-sensitively if there are capital characters.
|
||||
c.search.ignore_case = 'always'
|
||||
# c.search.ignore_case = 'smart'
|
||||
|
||||
## Find text on a page incrementally, renewing the search for each typed
|
||||
## character.
|
||||
|
@ -1128,7 +1258,7 @@ c.search.ignore_case = 'always'
|
|||
|
||||
## Padding (in pixels) for the statusbar.
|
||||
## Type: Padding
|
||||
# c.statusbar.padding = {'right': 0, 'left': 0, 'top': 1, 'bottom': 1}
|
||||
# c.statusbar.padding = {'top': 1, 'bottom': 1, 'left': 0, 'right': 0}
|
||||
|
||||
## Position of the status bar.
|
||||
## Type: VerticalPosition
|
||||
|
@ -1185,7 +1315,7 @@ c.tabs.background = True
|
|||
|
||||
## Padding (in pixels) for tab indicators.
|
||||
## Type: Padding
|
||||
# c.tabs.indicator.padding = {'right': 4, 'left': 0, 'top': 2, 'bottom': 2}
|
||||
# c.tabs.indicator.padding = {'top': 2, 'bottom': 2, 'left': 0, 'right': 4}
|
||||
|
||||
## Width (in pixels) of the progress indicator (0 to disable).
|
||||
## Type: Int
|
||||
|
@ -1201,6 +1331,14 @@ c.tabs.background = True
|
|||
## - close: Close the window.
|
||||
# c.tabs.last_close = 'ignore'
|
||||
|
||||
## Maximum width (in pixels) of tabs (-1 for no maximum). This setting
|
||||
## only applies when tabs are horizontal. This setting does not apply to
|
||||
## pinned tabs, unless `tabs.pinned.shrink` is False. This setting may
|
||||
## not apply properly if max_width is smaller than the minimum size of
|
||||
## tab contents, or smaller than tabs.min_width.
|
||||
## Type: Int
|
||||
# c.tabs.max_width = -1
|
||||
|
||||
## Minimum width (in pixels) of tabs (-1 for the default minimum size
|
||||
## behavior). This setting only applies when tabs are horizontal. This
|
||||
## setting does not apply to pinned tabs, unless `tabs.pinned.shrink` is
|
||||
|
@ -1220,7 +1358,8 @@ c.tabs.background = True
|
|||
## Type: Bool
|
||||
# c.tabs.mousewheel_switching = True
|
||||
|
||||
## Position of new tabs opened from another tab.
|
||||
## Position of new tabs opened from another tab. See
|
||||
## `tabs.new_position.stacking` for controlling stacking behavior.
|
||||
## Type: NewTabPosition
|
||||
## Valid values:
|
||||
## - prev: Before the current tab.
|
||||
|
@ -1229,7 +1368,14 @@ c.tabs.background = True
|
|||
## - last: At the end.
|
||||
# c.tabs.new_position.related = 'next'
|
||||
|
||||
## Position of new tabs which aren't opened from another tab.
|
||||
## Stack related tabs on top of each other when opened consecutively.
|
||||
## Only applies for `next` and `prev` values of
|
||||
## `tabs.new_position.related` and `tabs.new_position.unrelated`.
|
||||
## Type: Bool
|
||||
# c.tabs.new_position.stacking = True
|
||||
|
||||
## Position of new tabs which are not opened from another tab. See
|
||||
## `tabs.new_position.stacking` for controlling stacking behavior.
|
||||
## Type: NewTabPosition
|
||||
## Valid values:
|
||||
## - prev: Before the current tab.
|
||||
|
@ -1240,7 +1386,11 @@ c.tabs.background = True
|
|||
|
||||
## Padding (in pixels) around text for tabs.
|
||||
## Type: Padding
|
||||
# c.tabs.padding = {'right': 5, 'left': 5, 'top': 0, 'bottom': 0}
|
||||
# c.tabs.padding = {'top': 0, 'bottom': 0, 'left': 5, 'right': 5}
|
||||
|
||||
## Force pinned tabs to stay at fixed URL.
|
||||
## Type: Bool
|
||||
# c.tabs.pinned.frozen = True
|
||||
|
||||
## Shrink pinned tabs down to their contents.
|
||||
## Type: Bool
|
||||
|
@ -1298,9 +1448,10 @@ c.tabs.position = 'left'
|
|||
## `{host}`: Host of the current web page. * `{backend}`: Either
|
||||
## ''webkit'' or ''webengine'' * `{private}`: Indicates when private mode
|
||||
## is enabled. * `{current_url}`: URL of the current web page. *
|
||||
## `{protocol}`: Protocol (http/https/...) of the current web page.
|
||||
## `{protocol}`: Protocol (http/https/...) of the current web page. *
|
||||
## `{audio}`: Indicator for audio/mute status.
|
||||
## Type: FormatString
|
||||
# c.tabs.title.format = '{index}: {title}'
|
||||
# c.tabs.title.format = '{audio}{index}: {title}'
|
||||
|
||||
## Format to use for the tab title for pinned tabs. The same placeholders
|
||||
## like for `tabs.title.format` are defined.
|
||||
|
@ -1399,8 +1550,8 @@ c.url.searchengines = {'DEFAULT': 'https://www.google.com/search?q={}',
|
|||
## Bindings for normal mode
|
||||
config.bind('<Ctrl-x><Ctrl-c>', 'quit')
|
||||
# config.bind("'", 'enter-mode jump_mark')
|
||||
config.bind('+', 'zoom-in')
|
||||
config.bind('-', 'zoom-out')
|
||||
# config.bind('+', 'zoom-in')
|
||||
# config.bind('-', 'zoom-out')
|
||||
# config.bind('.', 'repeat-command')
|
||||
# config.bind('/', 'set-cmd-text /')
|
||||
config.bind('<Alt-x>', 'set-cmd-text :')
|
||||
|
@ -1448,6 +1599,7 @@ config.bind('<End>', 'scroll-to-perc 100')
|
|||
# config.bind('<Ctrl-Return>', 'follow-selected -t')
|
||||
# config.bind('<Ctrl-Shift-N>', 'open -p')
|
||||
# config.bind('<Ctrl-Shift-T>', 'undo')
|
||||
# config.bind('<Ctrl-Shift-Tab>', 'nop')
|
||||
# config.bind('<Ctrl-Shift-W>', 'close')
|
||||
# config.bind('<Ctrl-T>', 'open -t')
|
||||
# config.bind('<Ctrl-Tab>', 'tab-focus last')
|
||||
|
@ -1513,6 +1665,7 @@ config.bind('<Ctrl-x>b', 'set-cmd-text -s :tab-focus')
|
|||
# config.bind('g0', 'tab-focus 1')
|
||||
# config.bind('gB', 'set-cmd-text -s :bookmark-load -t')
|
||||
# config.bind('gC', 'tab-clone')
|
||||
# config.bind('gD', 'tab-give')
|
||||
# config.bind('gO', 'set-cmd-text :open -t -r {url:pretty}')
|
||||
config.bind('<Ctrl-x><Ctrl-f>', 'set-cmd-text -s :open -t')
|
||||
config.bind('<Ctrl-x><Ctrl-w>', 'set-cmd-text -s :open -t {url:pretty}')
|
||||
|
@ -1524,6 +1677,7 @@ config.bind('<Ctrl-s>', 'set-cmd-text -s :search')
|
|||
# config.bind('gd', 'download')
|
||||
# config.bind('gf', 'view-source')
|
||||
# config.bind('gg', 'scroll-to-perc 0')
|
||||
# config.bind('gi', 'hint inputs --first')
|
||||
# config.bind('gl', 'tab-move -')
|
||||
# config.bind('gm', 'tab-move')
|
||||
# config.bind('go', 'set-cmd-text :open {url:pretty}')
|
||||
|
@ -1552,6 +1706,9 @@ config.bind('g', 'set-cmd-text -s :open')
|
|||
# config.bind('sk', 'set-cmd-text -s :bind')
|
||||
# config.bind('sl', 'set-cmd-text -s :set -t')
|
||||
# config.bind('ss', 'set-cmd-text -s :set')
|
||||
# config.bind('tIH', 'config-cycle -p -u *://*.{url:host}/* content.images ;; reload')
|
||||
# config.bind('tIh', 'config-cycle -p -u *://{url:host}/* content.images ;; reload')
|
||||
# config.bind('tIu', 'config-cycle -p -u {url} content.images ;; reload')
|
||||
# config.bind('tPH', 'config-cycle -p -u *://*.{url:host}/* content.plugins ;; reload')
|
||||
# config.bind('tPh', 'config-cycle -p -u *://{url:host}/* content.plugins ;; reload')
|
||||
# config.bind('tPu', 'config-cycle -p -u {url} content.plugins ;; reload')
|
||||
|
@ -1559,6 +1716,9 @@ config.bind('g', 'set-cmd-text -s :open')
|
|||
# config.bind('tSh', 'config-cycle -p -u *://{url:host}/* content.javascript.enabled ;; reload')
|
||||
# config.bind('tSu', 'config-cycle -p -u {url} content.javascript.enabled ;; reload')
|
||||
# config.bind('th', 'back -t')
|
||||
# config.bind('tiH', 'config-cycle -p -t -u *://*.{url:host}/* content.images ;; reload')
|
||||
# config.bind('tih', 'config-cycle -p -t -u *://{url:host}/* content.images ;; reload')
|
||||
# config.bind('tiu', 'config-cycle -p -t -u {url} content.images ;; reload')
|
||||
# config.bind('tl', 'forward -t')
|
||||
# config.bind('tpH', 'config-cycle -p -t -u *://*.{url:host}/* content.plugins ;; reload')
|
||||
# config.bind('tph', 'config-cycle -p -t -u *://{url:host}/* content.plugins ;; reload')
|
||||
|
@ -1582,10 +1742,12 @@ config.bind('<Ctrl-/>', 'undo')
|
|||
# config.bind('xO', 'set-cmd-text :open -b -r {url:pretty}')
|
||||
# config.bind('xo', 'set-cmd-text -s :open -b')
|
||||
# config.bind('yD', 'yank domain -s')
|
||||
# config.bind('yM', 'yank markdown -s')
|
||||
# config.bind('yP', 'yank pretty-url -s')
|
||||
# config.bind('yT', 'yank title -s')
|
||||
# config.bind('yY', 'yank -s')
|
||||
# config.bind('yd', 'yank domain')
|
||||
# config.bind('ym', 'yank markdown')
|
||||
# config.bind('yp', 'yank pretty-url')
|
||||
# config.bind('yt', 'yank title')
|
||||
# config.bind('yy', 'yank')
|
||||
|
@ -1622,36 +1784,35 @@ config.bind('<Ctrl-/>', 'undo')
|
|||
# config.bind('}', 'move-to-end-of-next-block', mode='caret')
|
||||
|
||||
## Bindings for command mode
|
||||
config.bind('<Alt-b>', 'rl-backward-word', mode='command')
|
||||
config.bind('<Alt-Backspace>', 'rl-backward-kill-word', mode='command')
|
||||
config.bind('<Alt-d>', 'rl-kill-word', mode='command')
|
||||
config.bind('<Alt-f>', 'rl-forward-word', mode='command')
|
||||
# config.bind('<Alt-B>', 'rl-backward-word', mode='command')
|
||||
# config.bind('<Alt-Backspace>', 'rl-backward-kill-word', mode='command')
|
||||
# config.bind('<Alt-D>', 'rl-kill-word', mode='command')
|
||||
# config.bind('<Alt-F>', 'rl-forward-word', mode='command')
|
||||
# config.bind('<Ctrl-?>', 'rl-delete-char', mode='command')
|
||||
config.bind('<Ctrl-a>', 'rl-beginning-of-line', mode='command')
|
||||
config.bind('<Ctrl-b>', 'rl-backward-char', mode='command')
|
||||
# config.bind('<Ctrl-A>', 'rl-beginning-of-line', mode='command')
|
||||
# config.bind('<Ctrl-B>', 'rl-backward-char', mode='command')
|
||||
# config.bind('<Ctrl-C>', 'completion-item-yank', mode='command')
|
||||
# config.bind('<Ctrl-D>', 'completion-item-del', mode='command')
|
||||
config.bind('<Ctrl-e>', 'rl-end-of-line', mode='command')
|
||||
config.bind('<Ctrl-f>', 'rl-forward-char', mode='command')
|
||||
# config.bind('<Ctrl-E>', 'rl-end-of-line', mode='command')
|
||||
# config.bind('<Ctrl-F>', 'rl-forward-char', mode='command')
|
||||
# config.bind('<Ctrl-H>', 'rl-backward-delete-char', mode='command')
|
||||
config.bind('<Ctrl-k>', 'rl-kill-line', mode='command')
|
||||
config.bind('<Ctrl-n>', 'command-history-next', mode='command')
|
||||
config.bind('<Ctrl-p>', 'command-history-prev', mode='command')
|
||||
# config.bind('<Ctrl-K>', 'rl-kill-line', mode='command')
|
||||
# config.bind('<Ctrl-N>', 'command-history-next', mode='command')
|
||||
# config.bind('<Ctrl-P>', 'command-history-prev', mode='command')
|
||||
# config.bind('<Ctrl-Return>', 'command-accept --rapid', mode='command')
|
||||
# config.bind('<Ctrl-Shift-C>', 'completion-item-yank --sel', mode='command')
|
||||
# config.bind('<Ctrl-Shift-Tab>', 'completion-item-focus prev-category', mode='command')
|
||||
# config.bind('<Ctrl-Tab>', 'completion-item-focus next-category', mode='command')
|
||||
# config.bind('<Ctrl-U>', 'rl-unix-line-discard', mode='command')
|
||||
# config.bind('<Ctrl-W>', 'rl-unix-word-rubout', mode='command')
|
||||
# config.bind('<Ctrl-y>', 'rl-yank', mode='command')
|
||||
config.bind('<Ctrl-y>', 'rl-yank', mode='command')
|
||||
# config.bind('<Ctrl-Y>', 'rl-yank', mode='command')
|
||||
# config.bind('<Down>', 'completion-item-focus --history next', mode='command')
|
||||
config.bind('<Escape>', 'leave-mode', mode='command')
|
||||
config.bind('<Ctrl-g>', 'leave-mode', mode='command')
|
||||
config.bind('<Return>', 'command-accept', mode='command')
|
||||
# config.bind('<Shift-Delete>', 'completion-item-del', mode='command')
|
||||
# config.bind('<Shift-Tab>', 'completion-item-focus prev', mode='command')
|
||||
config.bind('<Tab>', 'completion-item-focus next', mode='command')
|
||||
# config.bind('<Tab>', 'completion-item-focus next', mode='command')
|
||||
# config.bind('<Up>', 'completion-item-focus --history prev', mode='command')
|
||||
config.bind('<Ctrl-/>', 'undo')
|
||||
|
||||
|
@ -1698,6 +1859,7 @@ config.bind('<Ctrl-g>', 'leave-mode', mode='passthrough')
|
|||
# config.bind('<Ctrl-F>', 'rl-forward-char', mode='prompt')
|
||||
# config.bind('<Ctrl-H>', 'rl-backward-delete-char', mode='prompt')
|
||||
# config.bind('<Ctrl-K>', 'rl-kill-line', mode='prompt')
|
||||
# config.bind('<Ctrl-P>', 'prompt-open-download --pdfjs', mode='prompt')
|
||||
# config.bind('<Ctrl-U>', 'rl-unix-line-discard', mode='prompt')
|
||||
# config.bind('<Ctrl-W>', 'rl-unix-word-rubout', mode='prompt')
|
||||
# config.bind('<Ctrl-X>', 'prompt-open-download', mode='prompt')
|
||||
|
|
Loading…
Reference in a new issue