1 ## Autogenerated config.py
3 ## qute://help/configuring.html
4 ## qute://help/settings.html
6 ## This is here so configs done via the GUI are still loaded.
7 ## Remove it to not load settings done via the GUI.
8 # config.load_autoconfig()
10 ## Aliases for commands. The keys of the given dictionary are the
11 ## aliases, while the values are the commands they map to.
13 c
.aliases
= {'w': 'session-save',
19 'mpv': 'spawn --userscript ~/src/qutebrowser/misc/userscripts/view_in_mpv'
22 ## Time interval (in milliseconds) between auto-saves of
23 ## config/cookies/etc.
25 # c.auto_save.interval = 15000
27 ## Always restore open sites when qutebrowser is reopened.
29 c
.auto_save
.session
= True
31 ## Backend to use to display websites. qutebrowser supports two different
32 ## web rendering engines / backends, QtWebKit and QtWebEngine. QtWebKit
33 ## was discontinued by the Qt project with Qt 5.6, but picked up as a
34 ## well maintained fork: https://github.com/annulen/webkit/wiki -
35 ## qutebrowser only supports the fork. QtWebEngine is Qt's official
36 ## successor to QtWebKit. It's slightly more resource hungry than
37 ## QtWebKit and has a couple of missing features in qutebrowser, but is
38 ## generally the preferred choice.
41 ## - webengine: Use QtWebEngine (based on Chromium).
42 ## - webkit: Use QtWebKit (based on WebKit, similar to Safari).
43 # c.backend = 'webengine'
45 ## This setting can be used to map keys to other keys. When the key used
46 ## as dictionary-key is pressed, the binding for the key used as
47 ## dictionary-value is invoked instead. This is useful for global
48 ## remappings of keys, for example to map Ctrl-[ to Escape. Note that
49 ## when a key is bound (via `bindings.default` or `bindings.commands`),
50 ## the mapping is ignored.
52 # 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>'}
54 ## Background color of the completion widget category headers.
56 # c.colors.completion.category.bg = 'qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #888888, stop:1 #505050)'
58 ## Bottom border color of the completion widget category headers.
60 # c.colors.completion.category.border.bottom = 'black'
62 ## Top border color of the completion widget category headers.
64 # c.colors.completion.category.border.top = 'black'
66 ## Foreground color of completion widget category headers.
68 # c.colors.completion.category.fg = 'white'
70 ## Background color of the completion widget for even rows.
72 # c.colors.completion.even.bg = '#333333'
74 ## Text color of the completion widget. May be a single color to use for
75 ## all columns or a list of three colors, one for each column.
76 ## Type: List of QtColor, or QtColor
77 # c.colors.completion.fg = ['white', 'white', 'white']
79 ## Background color of the selected completion item.
81 # c.colors.completion.item.selected.bg = '#e8c000'
83 ## Bottom border color of the selected completion item.
85 # c.colors.completion.item.selected.border.bottom = '#bbbb00'
87 ## Top border color of the selected completion item.
89 # c.colors.completion.item.selected.border.top = '#bbbb00'
91 ## Foreground color of the selected completion item.
93 # c.colors.completion.item.selected.fg = 'black'
95 ## Foreground color of the matched text in the selected completion item.
97 # c.colors.completion.item.selected.match.fg = '#ff4444'
99 ## Foreground color of the matched text in the completion.
101 # c.colors.completion.match.fg = '#ff4444'
103 ## Background color of the completion widget for odd rows.
105 # c.colors.completion.odd.bg = '#444444'
107 ## Color of the scrollbar in the completion view.
109 # c.colors.completion.scrollbar.bg = '#333333'
111 ## Color of the scrollbar handle in the completion view.
113 # c.colors.completion.scrollbar.fg = 'white'
115 ## Background color of the context menu. If set to null, the Qt default
118 # c.colors.contextmenu.menu.bg = None
120 ## Foreground color of the context menu. If set to null, the Qt default
123 # c.colors.contextmenu.menu.fg = None
125 ## Background color of the context menu's selected item. If set to null,
126 ## the Qt default is used.
128 # c.colors.contextmenu.selected.bg = None
130 ## Foreground color of the context menu's selected item. If set to null,
131 ## the Qt default is used.
133 # c.colors.contextmenu.selected.fg = None
135 ## Background color for the download bar.
137 # c.colors.downloads.bar.bg = 'black'
139 ## Background color for downloads with errors.
141 # c.colors.downloads.error.bg = 'red'
143 ## Foreground color for downloads with errors.
145 # c.colors.downloads.error.fg = 'white'
147 ## Color gradient start for download backgrounds.
149 # c.colors.downloads.start.bg = '#0000aa'
151 ## Color gradient start for download text.
153 # c.colors.downloads.start.fg = 'white'
155 ## Color gradient stop for download backgrounds.
157 # c.colors.downloads.stop.bg = '#00aa00'
159 ## Color gradient end for download text.
161 # c.colors.downloads.stop.fg = 'white'
163 ## Color gradient interpolation system for download backgrounds.
166 ## - rgb: Interpolate in the RGB color system.
167 ## - hsv: Interpolate in the HSV color system.
168 ## - hsl: Interpolate in the HSL color system.
169 ## - none: Don't show a gradient.
170 # c.colors.downloads.system.bg = 'rgb'
172 ## Color gradient interpolation system for download text.
175 ## - rgb: Interpolate in the RGB color system.
176 ## - hsv: Interpolate in the HSV color system.
177 ## - hsl: Interpolate in the HSL color system.
178 ## - none: Don't show a gradient.
179 # c.colors.downloads.system.fg = 'rgb'
181 ## Background color for hints. Note that you can use a `rgba(...)` value
184 # c.colors.hints.bg = 'qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255, 247, 133, 0.8), stop:1 rgba(255, 197, 66, 0.8))'
186 ## Font color for hints.
188 # c.colors.hints.fg = 'black'
190 ## Font color for the matched part of hints.
192 # c.colors.hints.match.fg = 'green'
194 ## Background color of the keyhint widget.
196 # c.colors.keyhint.bg = 'rgba(0, 0, 0, 80%)'
198 ## Text color for the keyhint widget.
200 # c.colors.keyhint.fg = '#FFFFFF'
202 ## Highlight color for keys to complete the current keychain.
204 # c.colors.keyhint.suffix.fg = '#FFFF00'
206 ## Background color of an error message.
208 # c.colors.messages.error.bg = 'red'
210 ## Border color of an error message.
212 # c.colors.messages.error.border = '#bb0000'
214 ## Foreground color of an error message.
216 # c.colors.messages.error.fg = 'white'
218 ## Background color of an info message.
220 # c.colors.messages.info.bg = 'black'
222 ## Border color of an info message.
224 # c.colors.messages.info.border = '#333333'
226 ## Foreground color of an info message.
228 # c.colors.messages.info.fg = 'white'
230 ## Background color of a warning message.
232 # c.colors.messages.warning.bg = 'darkorange'
234 ## Border color of a warning message.
236 # c.colors.messages.warning.border = '#d47300'
238 ## Foreground color of a warning message.
240 # c.colors.messages.warning.fg = 'white'
242 ## Background color for prompts.
244 c
.colors
.prompts
.bg
= '#333333'
246 ## Border used around UI elements in prompts.
248 # c.colors.prompts.border = '1px solid gray'
250 ## Foreground color for prompts.
252 # c.colors.prompts.fg = 'white'
254 ## Background color for the selected item in filename prompts.
256 # c.colors.prompts.selected.bg = 'grey'
258 ## Background color of the statusbar in caret mode.
260 # c.colors.statusbar.caret.bg = 'purple'
262 ## Foreground color of the statusbar in caret mode.
264 # c.colors.statusbar.caret.fg = 'white'
266 ## Background color of the statusbar in caret mode with a selection.
268 # c.colors.statusbar.caret.selection.bg = '#a12dff'
270 ## Foreground color of the statusbar in caret mode with a selection.
272 # c.colors.statusbar.caret.selection.fg = 'white'
274 ## Background color of the statusbar in command mode.
276 # c.colors.statusbar.command.bg = 'black'
278 ## Foreground color of the statusbar in command mode.
280 # c.colors.statusbar.command.fg = 'white'
282 ## Background color of the statusbar in private browsing + command mode.
284 # c.colors.statusbar.command.private.bg = 'grey'
286 ## Foreground color of the statusbar in private browsing + command mode.
288 # c.colors.statusbar.command.private.fg = 'white'
290 ## Background color of the statusbar in insert mode.
292 # c.colors.statusbar.insert.bg = 'darkgreen'
294 ## Foreground color of the statusbar in insert mode.
296 # c.colors.statusbar.insert.fg = 'white'
298 ## Background color of the statusbar.
300 # c.colors.statusbar.normal.bg = 'black'
302 ## Foreground color of the statusbar.
304 # c.colors.statusbar.normal.fg = 'white'
306 ## Background color of the statusbar in passthrough mode.
308 # c.colors.statusbar.passthrough.bg = 'darkblue'
310 ## Foreground color of the statusbar in passthrough mode.
312 # c.colors.statusbar.passthrough.fg = 'white'
314 ## Background color of the statusbar in private browsing mode.
316 # c.colors.statusbar.private.bg = '#666666'
318 ## Foreground color of the statusbar in private browsing mode.
320 # c.colors.statusbar.private.fg = 'white'
322 ## Background color of the progress bar.
324 # c.colors.statusbar.progress.bg = 'white'
326 ## Foreground color of the URL in the statusbar on error.
328 # c.colors.statusbar.url.error.fg = 'orange'
330 ## Default foreground color of the URL in the statusbar.
332 # c.colors.statusbar.url.fg = 'white'
334 ## Foreground color of the URL in the statusbar for hovered links.
336 # c.colors.statusbar.url.hover.fg = 'aqua'
338 ## Foreground color of the URL in the statusbar on successful load
341 # c.colors.statusbar.url.success.http.fg = 'white'
343 ## Foreground color of the URL in the statusbar on successful load
346 # c.colors.statusbar.url.success.https.fg = 'lime'
348 ## Foreground color of the URL in the statusbar when there's a warning.
350 # c.colors.statusbar.url.warn.fg = 'yellow'
352 ## Background color of the tab bar.
354 # c.colors.tabs.bar.bg = '#555555'
356 ## Background color of unselected even tabs.
358 # c.colors.tabs.even.bg = 'darkgrey'
360 ## Foreground color of unselected even tabs.
362 # c.colors.tabs.even.fg = 'white'
364 ## Color for the tab indicator on errors.
366 # c.colors.tabs.indicator.error = '#ff0000'
368 ## Color gradient start for the tab indicator.
370 # c.colors.tabs.indicator.start = '#0000aa'
372 ## Color gradient end for the tab indicator.
374 # c.colors.tabs.indicator.stop = '#00aa00'
376 ## Color gradient interpolation system for the tab indicator.
379 ## - rgb: Interpolate in the RGB color system.
380 ## - hsv: Interpolate in the HSV color system.
381 ## - hsl: Interpolate in the HSL color system.
382 ## - none: Don't show a gradient.
383 # c.colors.tabs.indicator.system = 'rgb'
385 ## Background color of unselected odd tabs.
387 # c.colors.tabs.odd.bg = 'grey'
389 ## Foreground color of unselected odd tabs.
391 # c.colors.tabs.odd.fg = 'white'
393 ## Background color of pinned unselected even tabs.
395 # c.colors.tabs.pinned.even.bg = 'darkseagreen'
397 ## Foreground color of pinned unselected even tabs.
399 # c.colors.tabs.pinned.even.fg = 'white'
401 ## Background color of pinned unselected odd tabs.
403 # c.colors.tabs.pinned.odd.bg = 'seagreen'
405 ## Foreground color of pinned unselected odd tabs.
407 # c.colors.tabs.pinned.odd.fg = 'white'
409 ## Background color of pinned selected even tabs.
411 # c.colors.tabs.pinned.selected.even.bg = 'black'
413 ## Foreground color of pinned selected even tabs.
415 # c.colors.tabs.pinned.selected.even.fg = 'white'
417 ## Background color of pinned selected odd tabs.
419 # c.colors.tabs.pinned.selected.odd.bg = 'black'
421 ## Foreground color of pinned selected odd tabs.
423 # c.colors.tabs.pinned.selected.odd.fg = 'white'
425 ## Background color of selected even tabs.
427 # c.colors.tabs.selected.even.bg = 'black'
429 ## Foreground color of selected even tabs.
431 # c.colors.tabs.selected.even.fg = 'white'
433 ## Background color of selected odd tabs.
435 # c.colors.tabs.selected.odd.bg = 'black'
437 ## Foreground color of selected odd tabs.
439 # c.colors.tabs.selected.odd.fg = 'white'
441 ## Background color for webpages if unset (or empty to use the theme's
444 # c.colors.webpage.bg = 'white'
446 ## Force `prefers-color-scheme: dark` colors for websites.
448 c
.colors
.webpage
.prefers_color_scheme_dark
= True
450 ## Number of commands to save in the command history. 0: no history / -1:
453 # c.completion.cmd_history_max_items = 100
455 ## Delay (in milliseconds) before updating completions after typing a
458 # c.completion.delay = 0
460 ## Height (in pixels or as percentage of the window) of the completion.
462 c
.completion
.height
= 150
464 ## Minimum amount of characters needed to update completions.
466 # c.completion.min_chars = 1
468 ## Which categories to show (in which order) in the :open completion.
475 # c.completion.open_categories = ['searchengines', 'quickmarks', 'bookmarks', 'history']
477 ## Move on to the next part when there's only one possible completion
480 c
.completion
.quick
= False
482 ## Padding (in pixels) of the scrollbar handle in the completion window.
484 # c.completion.scrollbar.padding = 2
486 ## Width (in pixels) of the scrollbar in the completion window.
488 # c.completion.scrollbar.width = 12
490 ## When to show the autocompletion window.
493 ## - always: Whenever a completion is available.
494 ## - auto: Whenever a completion is requested.
496 # c.completion.show = 'always'
498 ## Shrink the completion to be smaller than the configured size if there
499 ## are no scrollbars.
501 c
.completion
.shrink
= True
503 ## Format of timestamps (e.g. for the history completion). See
504 ## https://sqlite.org/lang_datefunc.html for allowed substitutions.
506 # c.completion.timestamp_format = '%Y-%m-%d'
508 ## Execute the best-matching command on a partial match.
510 # c.completion.use_best_match = False
512 ## A list of patterns which should not be shown in the history. This only
513 ## affects the completion. Matching URLs are still saved in the history
514 ## (and visible on the qute://history page), but hidden in the
515 ## completion. Changing this setting will cause the completion history to
516 ## be regenerated on the next start, which will take a short while.
517 ## Type: List of UrlPattern
518 # c.completion.web_history.exclude = []
520 ## Number of URLs to show in the web history. 0: no history / -1:
523 # c.completion.web_history.max_items = -1
525 ## Require a confirmation before quitting the application.
528 ## - always: Always show a confirmation.
529 ## - multiple-tabs: Show a confirmation if multiple tabs are opened.
530 ## - downloads: Show a confirmation if downloads are running
531 ## - never: Never show a confirmation.
532 c
.confirm_quit
= ['downloads']
534 ## Automatically start playing `<video>` elements. Note: On Qt < 5.11,
535 ## this option needs a restart and does not support URL patterns.
537 # c.content.autoplay = True
539 ## Enable support for the HTML 5 web application cache feature. An
540 ## application cache acts like an HTTP cache in some sense. For documents
541 ## that use the application cache via JavaScript, the loader engine will
542 ## first ask the application cache for the contents, before hitting the
545 # c.content.cache.appcache = True
547 ## Maximum number of pages to hold in the global memory page cache. The
548 ## page cache allows for a nicer user experience when navigating forth or
549 ## back to pages in the forward/back history, by pausing and resuming up
550 ## to _n_ pages. For more information about the feature, please refer to:
551 ## http://webkit.org/blog/427/webkit-page-cache-i-the-basics/
553 # c.content.cache.maximum_pages = 0
555 ## Size (in bytes) of the HTTP network cache. Null to use the default
556 ## value. With QtWebEngine, the maximum supported value is 2147483647 (~2
559 # c.content.cache.size = None
561 ## Allow websites to read canvas elements. Note this is needed for some
562 ## websites to work properly.
564 # c.content.canvas_reading = True
566 ## Which cookies to accept.
569 ## - all: Accept all cookies.
570 ## - no-3rdparty: Accept cookies from the same origin only. This is known to break some sites, such as GMail.
571 ## - 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.
572 ## - never: Don't accept cookies at all.
573 c
.content
.cookies
.accept
= 'no-3rdparty'
575 ## Store cookies. Note this option needs a restart with QtWebEngine on Qt
578 # c.content.cookies.store = True
580 ## Default encoding to use for websites. The encoding must be a string
581 ## describing an encoding such as _utf-8_, _iso-8859-1_, etc.
583 # c.content.default_encoding = 'iso-8859-1'
585 ## Allow websites to share screen content. On Qt < 5.10, a dialog box is
586 ## always displayed, even if this is set to "true".
592 # c.content.desktop_capture = 'ask'
594 ## Try to pre-fetch DNS entries to speed up browsing.
596 c
.content
.dns_prefetch
= True
598 ## Expand each subframe to its contents. This will flatten all the frames
599 ## to become one scrollable page.
601 # c.content.frame_flattening = False
603 ## Allow websites to request geolocations.
609 # c.content.geolocation = 'ask'
611 ## Value to send in the `Accept-Language` header. Note that the value
612 ## read from JavaScript is always the global value.
614 c
.content
.headers
.accept_language
= 'en-UK;q=1.0, en;q=0.9, de;q=0.7, fr;q=0.7, *;q=0.5'
616 ## Custom headers for qutebrowser HTTP requests.
618 # c.content.headers.custom = {}
620 ## Value to send in the `DNT` header. When this is set to true,
621 ## qutebrowser asks websites to not track your identity. If set to null,
622 ## the DNT header is not sent at all.
624 # c.content.headers.do_not_track = True
626 ## When to send the Referer header. The Referer header tells websites
627 ## from which website you were coming from when visiting them. No restart
628 ## is needed with QtWebKit.
631 ## - always: Always send the Referer.
632 ## - never: Never send the Referer. This is not recommended, as some sites may break.
633 ## - 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.
634 # c.content.headers.referer = 'same-domain'
636 ## User agent to send. The following placeholders are defined: *
637 ## `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`:
638 ## The underlying WebKit version (set to a fixed value with
639 ## QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for
640 ## QtWebEngine. * `{qt_version}`: The underlying Qt version. *
641 ## `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for
642 ## QtWebEngine. * `{upstream_browser_version}`: The corresponding
643 ## Safari/Chrome version. * `{qutebrowser_version}`: The currently
644 ## running qutebrowser version. The default value is equal to the
645 ## unchanged user agent of QtWebKit/QtWebEngine. Note that the value
646 ## read from JavaScript is always the global value.
647 ## Type: FormatString
648 # c.content.headers.user_agent = 'Mozilla/5.0 ({os_info}) AppleWebKit/{webkit_version} (KHTML, like Gecko) {qt_key}/{qt_version} {upstream_browser_key}/{upstream_browser_version} Safari/{webkit_version}'
650 ## Enable host blocking.
652 # c.content.host_blocking.enabled = True
654 ## List of URLs of lists which contain hosts to block. The file can be
655 ## in one of the following formats: - An `/etc/hosts`-like file - One
656 ## host per line - A zip-file of any of the above, with either only one
657 ## file, or a file named `hosts` (with any extension). It's also
658 ## possible to add a local file or directory via a `file://` URL. In case
659 ## of a directory, all files in the directory are read as adblock lists.
660 ## The file `~/.config/qutebrowser/blocked-hosts` is always read if it
663 # c.content.host_blocking.lists = ['https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts']
665 ## A list of patterns that should always be loaded, despite being ad-
666 ## blocked. Note this whitelists blocked hosts, not first-party URLs. As
667 ## an example, if `example.org` loads an ad from `ads.example.org`, the
668 ## whitelisted host should be `ads.example.org`. If you want to disable
669 ## the adblocker on a given page, use the `content.host_blocking.enabled`
670 ## setting with a URL pattern instead. Local domains are always exempt
671 ## from hostblocking.
672 ## Type: List of UrlPattern
673 # c.content.host_blocking.whitelist = []
675 ## Enable hyperlink auditing (`<a ping>`).
677 # c.content.hyperlink_auditing = False
679 ## Load images automatically in web pages.
681 # c.content.images = True
683 ## Show javascript alerts.
685 # c.content.javascript.alert = True
687 ## Allow JavaScript to read from or write to the clipboard. With
688 ## QtWebEngine, writing the clipboard as response to a user interaction
689 ## is always allowed.
691 # c.content.javascript.can_access_clipboard = False
693 ## Allow JavaScript to close tabs.
695 # c.content.javascript.can_close_tabs = False
697 ## Allow JavaScript to open new tabs without user interaction.
699 # c.content.javascript.can_open_tabs_automatically = False
701 ## Enable JavaScript.
703 # c.content.javascript.enabled = True
705 ## Log levels to use for JavaScript console logging messages. When a
706 ## JavaScript message with the level given in the dictionary key is
707 ## logged, the corresponding dictionary value selects the qutebrowser
708 ## logger to use. On QtWebKit, the "unknown" setting is always used. The
709 ## following levels are valid: `none`, `debug`, `info`, `warning`,
712 # c.content.javascript.log = {'unknown': 'debug', 'info': 'debug', 'warning': 'debug', 'error': 'debug'}
714 ## Use the standard JavaScript modal dialog for `alert()` and
717 # c.content.javascript.modal_dialog = False
719 ## Show javascript prompts.
721 # c.content.javascript.prompt = True
723 ## Allow locally loaded documents to access other local URLs.
725 # c.content.local_content_can_access_file_urls = True
727 ## Allow locally loaded documents to access remote URLs.
729 # c.content.local_content_can_access_remote_urls = False
731 ## Enable support for HTML 5 local storage and Web SQL.
733 # c.content.local_storage = True
735 ## Allow websites to record audio/video.
741 # c.content.media_capture = 'ask'
743 ## Allow websites to lock your mouse pointer.
749 # c.content.mouse_lock = 'ask'
751 ## Automatically mute tabs. Note that if the `:tab-mute` command is used,
752 ## the mute status for the affected tab is now controlled manually, and
753 ## this setting doesn't have any effect.
755 # c.content.mute = False
757 ## Netrc-file for HTTP authentication. If unset, `~/.netrc` is used.
759 # c.content.netrc_file = None
761 ## Allow websites to show notifications.
767 # c.content.notifications = 'ask'
769 ## Allow pdf.js to view PDF files in the browser. Note that the files can
770 ## still be downloaded by clicking the download button in the pdf.js
773 # c.content.pdfjs = False
775 ## Allow websites to request persistent storage quota via
776 ## `navigator.webkitPersistentStorage.requestQuota`.
782 # c.content.persistent_storage = 'ask'
784 ## Enable plugins in Web pages.
786 # c.content.plugins = False
788 ## Draw the background color and images also when the page is printed.
790 # c.content.print_element_backgrounds = True
792 ## Open new windows in private browsing mode which does not record
795 # c.content.private_browsing = False
797 ## Proxy to use. In addition to the listed values, you can use a
798 ## `socks://...` or `http://...` URL.
801 ## - system: Use the system wide proxy.
802 ## - none: Don't use any proxy
803 # c.content.proxy = 'system'
805 ## Send DNS requests over the configured proxy.
807 # c.content.proxy_dns_requests = True
809 ## Allow websites to register protocol handlers via
810 ## `navigator.registerProtocolHandler`.
816 # c.content.register_protocol_handler = 'ask'
817 with config
.pattern('*://mail.google.com/*') as p
:
818 p
.content
.register_protocol_handler
= False
819 with config
.pattern('*://calendar.google.com/*') as p
:
820 p
.content
.register_protocol_handler
= False
822 ## Enable quirks (such as faked user agent headers) needed to get
823 ## specific sites to work properly.
825 # c.content.site_specific_quirks = True
827 ## Validate SSL handshakes.
833 # c.content.ssl_strict = 'ask'
835 ## List of user stylesheet filenames to use.
836 ## Type: List of File, or File
837 # c.content.user_stylesheets = []
841 # c.content.webgl = True
843 ## Which interfaces to expose via WebRTC. On Qt 5.10, this option doesn't
844 ## work because of a Qt bug.
847 ## - all-interfaces: WebRTC has the right to enumerate all interfaces and bind them to discover public interfaces.
848 ## - 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.
849 ## - default-public-interface-only: WebRTC should only use the default route used by http. This doesn't expose any local addresses.
850 ## - 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.
851 # c.content.webrtc_ip_handling_policy = 'all-interfaces'
853 ## Limit fullscreen to the browser window (does not expand to fill the
856 # c.content.windowed_fullscreen = False
858 ## Monitor load requests for cross-site scripting attempts. Suspicious
859 ## scripts will be blocked and reported in the inspector's JavaScript
860 ## console. Note that bypasses for the XSS auditor are widely known and
861 ## it can be abused for cross-site info leaks in some scenarios, see:
862 ## https://www.chromium.org/developers/design-documents/xss-auditor
864 # c.content.xss_auditing = False
866 ## Directory to save downloads to. If unset, a sensible OS-specific
869 c
.downloads
.location
.directory
= "~/downloads"
871 ## Prompt the user for the download location. If set to false,
872 ## `downloads.location.directory` will be used.
874 # c.downloads.location.prompt = True
876 ## Remember the last used download directory.
878 # c.downloads.location.remember = True
880 ## What to display in the download filename input.
883 ## - path: Show only the download path.
884 ## - filename: Show only download filename.
885 ## - both: Show download path and filename.
886 # c.downloads.location.suggestion = 'path'
888 ## Default program used to open downloads. If null, the default internal
889 ## handler is used. Any `{}` in the string will be expanded to the
890 ## filename, else the filename will be appended.
892 c
.downloads
.open_dispatcher
= "rifle"
894 ## Where to show the downloaded files.
895 ## Type: VerticalPosition
899 # c.downloads.position = 'top'
901 ## Duration (in milliseconds) to wait before removing finished downloads.
902 ## If set to -1, downloads are never removed.
904 # c.downloads.remove_finished = -1
906 ## Editor (and arguments) to use for the `open-editor` command. The
907 ## following placeholders are defined: * `{file}`: Filename of the file
908 ## to be edited. * `{line}`: Line in which the caret is found in the
909 ## text. * `{column}`: Column in which the caret is found in the text. *
910 ## `{line0}`: Same as `{line}`, but starting from index 0. * `{column0}`:
911 ## Same as `{column}`, but starting from index 0.
912 ## Type: ShellCommand
913 c
.editor
.command
= ['urxvtc', '-e', 'vim', '{file}', '-c', 'normal {line}G{column0}l']
915 ## Encoding to use for the editor.
917 # c.editor.encoding = 'utf-8'
919 ## Font used in the completion categories.
921 # c.fonts.completion.category = 'bold default_size default_family'
923 ## Font used in the completion widget.
925 # c.fonts.completion.entry = 'default_size default_family'
927 ## Font used for the context menu. If set to null, the Qt default is
930 # c.fonts.contextmenu = None
932 ## Font used for the debugging console.
934 # c.fonts.debug_console = 'default_size default_family'
936 ## Default font families to use. Whenever "default_family" is used in a
937 ## font setting, it's replaced with the fonts listed here. If set to an
938 ## empty value, a system-specific monospace default is used.
939 ## Type: List of Font, or Font
940 c
.fonts
.default_family
= ["Hack"]
942 ## Default font size to use. Whenever "default_size" is used in a font
943 ## setting, it's replaced with the size listed here. Valid values are
944 ## either a float value with a "pt" suffix, or an integer value with a
947 # c.fonts.default_size = '10pt'
949 ## Font used for the downloadbar.
951 # c.fonts.downloads = 'default_size default_family'
953 ## Font used for the hints.
955 # c.fonts.hints = 'bold default_size default_family'
957 ## Font used in the keyhint widget.
959 # c.fonts.keyhint = 'default_size default_family'
961 ## Font used for error messages.
963 # c.fonts.messages.error = 'default_size default_family'
965 ## Font used for info messages.
967 # c.fonts.messages.info = 'default_size default_family'
969 ## Font used for warning messages.
971 # c.fonts.messages.warning = 'default_size default_family'
973 ## Font used for prompts.
975 # c.fonts.prompts = 'default_size sans-serif'
977 ## Font used in the statusbar.
979 # c.fonts.statusbar = 'default_size default_family'
981 ## Font used in the tab bar.
983 # c.fonts.tabs = 'default_size default_family'
985 ## Font family for cursive fonts.
987 # c.fonts.web.family.cursive = ''
989 ## Font family for fantasy fonts.
991 # c.fonts.web.family.fantasy = ''
993 ## Font family for fixed fonts.
995 # c.fonts.web.family.fixed = ''
997 ## Font family for sans-serif fonts.
999 # c.fonts.web.family.sans_serif = ''
1001 ## Font family for serif fonts.
1003 # c.fonts.web.family.serif = ''
1005 ## Font family for standard fonts.
1007 # c.fonts.web.family.standard = ''
1009 ## Default font size (in pixels) for regular text.
1011 # c.fonts.web.size.default = 16
1013 ## Default font size (in pixels) for fixed-pitch text.
1015 # c.fonts.web.size.default_fixed = 13
1017 ## Hard minimum font size (in pixels).
1019 # c.fonts.web.size.minimum = 0
1021 ## Minimum logical font size (in pixels) that is applied when zooming
1024 # c.fonts.web.size.minimum_logical = 6
1026 ## When a hint can be automatically followed without pressing Enter.
1029 ## - always: Auto-follow whenever there is only a single hint on a page.
1030 ## - unique-match: Auto-follow whenever there is a unique non-empty match in either the hint string (word mode) or filter (number mode).
1031 ## - full-match: Follow the hint when the user typed the whole hint (letter, word or number mode) or the element's text (only in number mode).
1032 ## - never: The user will always need to press Enter to follow a hint.
1033 # c.hints.auto_follow = 'unique-match'
1035 ## Duration (in milliseconds) to ignore normal-mode key bindings after a
1036 ## successful auto-follow.
1038 # c.hints.auto_follow_timeout = 0
1040 ## CSS border value for hints.
1042 # c.hints.border = '1px solid #E3BE23'
1044 ## Characters used for hint strings.
1045 ## Type: UniqueCharString
1046 c
.hints
.chars
= 'aoeuidhtns'
1048 ## Dictionary file to be used by the word hints.
1050 # c.hints.dictionary = '/usr/share/dict/words'
1052 ## Which implementation to use to find elements to hint.
1055 ## - javascript: Better but slower
1056 ## - python: Slightly worse but faster
1057 # c.hints.find_implementation = 'python'
1059 ## Hide unmatched hints in rapid mode.
1061 # c.hints.hide_unmatched_rapid_hints = True
1063 ## Leave hint mode when starting a new page load.
1065 # c.hints.leave_on_load = True
1067 ## Minimum number of characters used for hint strings.
1069 c
.hints
.min_chars
= 2
1071 ## Mode to use for hints.
1074 ## - number: Use numeric hints. (In this mode you can also type letters from the hinted element to filter and reduce the number of elements that are hinted.)
1075 ## - letter: Use the characters in the `hints.chars` setting.
1076 ## - word: Use hints words based on the html elements and the extra words.
1077 # c.hints.mode = 'letter'
1079 ## Comma-separated list of regular expressions to use for 'next' links.
1080 ## Type: List of Regex
1081 # c.hints.next_regexes = ['\\bnext\\b', '\\bmore\\b', '\\bnewer\\b', '\\b[>→≫]\\b', '\\b(>>|»)\\b', '\\bcontinue\\b']
1083 ## Comma-separated list of regular expressions to use for 'prev' links.
1084 ## Type: List of Regex
1085 # c.hints.prev_regexes = ['\\bprev(ious)?\\b', '\\bback\\b', '\\bolder\\b', '\\b[<←≪]\\b', '\\b(<<|«)\\b']
1087 ## Scatter hint key chains (like Vimium) or not (like dwb). Ignored for
1090 c
.hints
.scatter
= False
1092 ## CSS selectors used to determine which elements on a page should have
1095 # 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']}
1097 ## Make characters in hint strings uppercase.
1099 # c.hints.uppercase = False
1101 ## Maximum time (in minutes) between two history items for them to be
1102 ## considered being from the same browsing session. Items with less time
1103 ## between them are grouped when being displayed in `:history`. Use -1 to
1104 ## disable separation.
1106 # c.history_gap_interval = 30
1108 ## Allow Escape to quit the crash reporter.
1110 # c.input.escape_quits_reporter = True
1112 ## Which unbound keys to forward to the webview in normal mode.
1115 ## - all: Forward all unbound keys.
1116 ## - auto: Forward unbound non-alphanumeric keys.
1117 ## - none: Don't forward any keys.
1118 # c.input.forward_unbound_keys = 'auto'
1120 ## Enter insert mode if an editable element is clicked.
1122 # c.input.insert_mode.auto_enter = True
1124 ## Leave insert mode if a non-editable element is clicked.
1126 # c.input.insert_mode.auto_leave = True
1128 ## Automatically enter insert mode if an editable element is focused
1129 ## after loading the page.
1131 # c.input.insert_mode.auto_load = False
1133 ## Leave insert mode when starting a new page load. Patterns may be
1134 ## unreliable on this setting, and they may match the url you are
1135 ## navigating to, or the URL you are navigating from.
1137 # c.input.insert_mode.leave_on_load = True
1139 ## Switch to insert mode when clicking flash and other plugins.
1141 # c.input.insert_mode.plugins = False
1143 ## Include hyperlinks in the keyboard focus chain when tabbing.
1145 # c.input.links_included_in_focus_chain = True
1147 ## Timeout (in milliseconds) for partially typed key bindings. If the
1148 ## current input forms only partial matches, the keystring will be
1149 ## cleared after this time.
1151 # c.input.partial_timeout = 5000
1153 ## Enable Opera-like mouse rocker gestures. This disables the context
1156 # c.input.rocker_gestures = False
1158 ## Enable spatial navigation. Spatial navigation consists in the ability
1159 ## to navigate between focusable elements in a Web page, such as
1160 ## hyperlinks and form controls, by using Left, Right, Up and Down arrow
1161 ## keys. For example, if the user presses the Right key, heuristics
1162 ## determine whether there is an element he might be trying to reach
1163 ## towards the right and which element he probably wants.
1165 # c.input.spatial_navigation = False
1167 ## Keychains that shouldn't be shown in the keyhint dialog. Globs are
1168 ## supported, so `;*` will blacklist all keychains starting with `;`. Use
1169 ## `*` to disable keyhints.
1170 ## Type: List of String
1171 # c.keyhint.blacklist = []
1173 ## Time (in milliseconds) from pressing a key to seeing the keyhint
1176 # c.keyhint.delay = 500
1178 ## Rounding radius (in pixels) for the edges of the keyhint dialog.
1180 # c.keyhint.radius = 6
1182 ## Duration (in milliseconds) to show messages in the statusbar for. Set
1183 ## to 0 to never clear messages.
1185 # c.messages.timeout = 2000
1187 ## How to open links in an existing instance if a new one is launched.
1188 ## This happens when e.g. opening a link from a terminal. See
1189 ## `new_instance_open_target_window` to customize in which window the
1190 ## link is opened in.
1193 ## - tab: Open a new tab in the existing window and activate the window.
1194 ## - tab-bg: Open a new background tab in the existing window and activate the window.
1195 ## - tab-silent: Open a new tab in the existing window without activating the window.
1196 ## - tab-bg-silent: Open a new background tab in the existing window without activating the window.
1197 ## - window: Open in a new window.
1198 # c.new_instance_open_target = 'tab'
1200 ## Which window to choose when opening links as new tabs. When
1201 ## `new_instance_open_target` is set to `window`, this is ignored.
1204 ## - first-opened: Open new tabs in the first (oldest) opened window.
1205 ## - last-opened: Open new tabs in the last (newest) opened window.
1206 ## - last-focused: Open new tabs in the most recently focused window.
1207 ## - last-visible: Open new tabs in the most recently visible window.
1208 # c.new_instance_open_target_window = 'last-focused'
1210 ## Show a filebrowser in upload/download prompts.
1212 # c.prompt.filebrowser = True
1214 ## Rounding radius (in pixels) for the edges of prompts.
1216 # c.prompt.radius = 8
1218 ## Additional arguments to pass to Qt, without leading `--`. With
1219 ## QtWebEngine, some Chromium arguments (see
1220 ## https://peter.sh/experiments/chromium-command-line-switches/ for a
1222 ## Type: List of String
1225 ## Force a Qt platform to use. This sets the `QT_QPA_PLATFORM`
1226 ## environment variable and is useful to force using the XCB plugin when
1227 ## running QtWebEngine on Wayland.
1229 # c.qt.force_platform = None
1231 ## Force a Qt platformtheme to use. This sets the `QT_QPA_PLATFORMTHEME`
1232 ## environment variable which controls dialogs like the filepicker. By
1233 ## default, Qt determines the platform theme based on the desktop
1236 # c.qt.force_platformtheme = None
1238 ## Force software rendering for QtWebEngine. This is needed for
1239 ## QtWebEngine to work with Nouveau drivers and can be useful in other
1240 ## scenarios related to graphic issues.
1243 ## - software-opengl: Tell LibGL to use a software implementation of GL (`LIBGL_ALWAYS_SOFTWARE` / `QT_XCB_FORCE_SOFTWARE_OPENGL`)
1244 ## - qt-quick: Tell Qt Quick to use a software renderer instead of OpenGL. (`QT_QUICK_BACKEND=software`)
1245 ## - chromium: Tell Chromium to disable GPU support and use Skia software rendering instead. (`--disable-gpu`)
1246 ## - none: Don't force software rendering.
1247 # c.qt.force_software_rendering = 'none'
1249 ## Turn on Qt HighDPI scaling. This is equivalent to setting
1250 ## QT_AUTO_SCREEN_SCALE_FACTOR=1 or QT_ENABLE_HIGHDPI_SCALING=1 (Qt >=
1251 ## 5.14) in the environment. It's off by default as it can cause issues
1252 ## with some bitmap fonts. As an alternative to this, it's possible to
1253 ## set font sizes and the `zoom.default` setting.
1255 # c.qt.highdpi = False
1257 ## When to use Chromium's low-end device mode. This improves the RAM
1258 ## usage of renderer processes, at the expense of performance.
1261 ## - always: Always use low-end device mode.
1262 ## - auto: Decide automatically (uses low-end mode with < 1 GB available RAM).
1263 ## - never: Never use low-end device mode.
1264 # c.qt.low_end_device_mode = 'auto'
1266 ## Which Chromium process model to use. Alternative process models use
1267 ## less resources, but decrease security and robustness. See the
1268 ## following pages for more details: -
1269 ## https://www.chromium.org/developers/design-documents/process-models
1270 ## - https://doc.qt.io/qt-5/qtwebengine-features.html#process-models
1273 ## - process-per-site-instance: Pages from separate sites are put into separate processes and separate visits to the same site are also isolated.
1274 ## - 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.
1275 ## - single-process: Run all tabs in a single process. This should be used for debugging purposes only, and it disables `:open --private`.
1276 # c.qt.process_model = 'process-per-site-instance'
1278 ## When to show the scrollbar.
1281 ## - always: Always show the scrollbar.
1282 ## - never: Never show the scrollbar.
1283 ## - when-searching: Show the scrollbar when searching for text in the webpage. With the QtWebKit backend, this is equal to `never`.
1284 c
.scrolling
.bar
= 'when-searching'
1286 ## Enable smooth scrolling for web pages. Note smooth scrolling does not
1287 ## work with the `:scroll-px` command.
1289 # c.scrolling.smooth = False
1291 ## When to find text on a page case-insensitively.
1294 ## - always: Search case-insensitively.
1295 ## - never: Search case-sensitively.
1296 ## - smart: Search case-sensitively if there are capital characters.
1297 # c.search.ignore_case = 'smart'
1299 ## Find text on a page incrementally, renewing the search for each typed
1302 # c.search.incremental = True
1304 ## Name of the session to save by default. If this is set to null, the
1305 ## session which was last loaded is saved.
1306 ## Type: SessionName
1307 # c.session.default_name = None
1309 ## Load a restored tab as soon as it takes focus.
1311 c
.session
.lazy_restore
= True
1313 ## Languages to use for spell checking. You can check for available
1314 ## languages and install dictionaries using scripts/dictcli.py. Run the
1315 ## script with -h/--help for instructions.
1316 ## Type: List of String
1318 ## - af-ZA: Afrikaans (South Africa)
1319 ## - bg-BG: Bulgarian (Bulgaria)
1320 ## - ca-ES: Catalan (Spain)
1321 ## - cs-CZ: Czech (Czech Republic)
1322 ## - da-DK: Danish (Denmark)
1323 ## - de-DE: German (Germany)
1324 ## - el-GR: Greek (Greece)
1325 ## - en-AU: English (Australia)
1326 ## - en-CA: English (Canada)
1327 ## - en-GB: English (United Kingdom)
1328 ## - en-US: English (United States)
1329 ## - es-ES: Spanish (Spain)
1330 ## - et-EE: Estonian (Estonia)
1331 ## - fa-IR: Farsi (Iran)
1332 ## - fo-FO: Faroese (Faroe Islands)
1333 ## - fr-FR: French (France)
1334 ## - he-IL: Hebrew (Israel)
1335 ## - hi-IN: Hindi (India)
1336 ## - hr-HR: Croatian (Croatia)
1337 ## - hu-HU: Hungarian (Hungary)
1338 ## - id-ID: Indonesian (Indonesia)
1339 ## - it-IT: Italian (Italy)
1341 ## - lt-LT: Lithuanian (Lithuania)
1342 ## - lv-LV: Latvian (Latvia)
1343 ## - nb-NO: Norwegian (Norway)
1344 ## - nl-NL: Dutch (Netherlands)
1345 ## - pl-PL: Polish (Poland)
1346 ## - pt-BR: Portuguese (Brazil)
1347 ## - pt-PT: Portuguese (Portugal)
1348 ## - ro-RO: Romanian (Romania)
1349 ## - ru-RU: Russian (Russia)
1350 ## - sh: Serbo-Croatian
1351 ## - sk-SK: Slovak (Slovakia)
1352 ## - sl-SI: Slovenian (Slovenia)
1355 ## - sv-SE: Swedish (Sweden)
1356 ## - ta-IN: Tamil (India)
1357 ## - tg-TG: Tajik (Tajikistan)
1358 ## - tr-TR: Turkish (Turkey)
1359 ## - uk-UA: Ukrainian (Ukraine)
1360 ## - vi-VN: Vietnamese (Viet Nam)
1361 c
.spellcheck
.languages
= ['en-GB']
1363 ## Hide the statusbar unless a message is shown.
1365 # c.statusbar.hide = False
1367 ## Padding (in pixels) for the statusbar.
1369 # c.statusbar.padding = {'top': 1, 'bottom': 1, 'left': 0, 'right': 0}
1371 ## Position of the status bar.
1372 ## Type: VerticalPosition
1376 # c.statusbar.position = 'bottom'
1378 ## List of widgets displayed in the statusbar.
1379 ## Type: List of String
1381 ## - url: Current page URL.
1382 ## - scroll: Percentage of the current page position like `10%`.
1383 ## - scroll_raw: Raw percentage of the current page position like `10`.
1384 ## - history: Display an arrow when possible to go back/forward in history.
1385 ## - tabs: Current active tab, e.g. `2`.
1386 ## - keypress: Display pressed keys when composing a vi command.
1387 ## - progress: Progress bar for the current page loading.
1388 # c.statusbar.widgets = ['keypress', 'url', 'scroll', 'history', 'tabs', 'progress']
1390 ## Open new tabs (middleclick/ctrl+click) in the background.
1392 # c.tabs.background = False
1394 ## Mouse button with which to close tabs.
1397 ## - right: Close tabs on right-click.
1398 ## - middle: Close tabs on middle-click.
1399 ## - none: Don't close tabs using the mouse.
1400 # c.tabs.close_mouse_button = 'middle'
1402 ## How to behave when the close mouse button is pressed on the tab bar.
1405 ## - new-tab: Open a new tab.
1406 ## - close-current: Close the current tab.
1407 ## - close-last: Close the last tab.
1408 ## - ignore: Don't do anything.
1409 # c.tabs.close_mouse_button_on_bar = 'new-tab'
1411 ## Scaling factor for favicons in the tab bar. The tab size is unchanged,
1412 ## so big favicons also require extra `tabs.padding`.
1414 # c.tabs.favicons.scale = 1.0
1416 ## When to show favicons in the tab bar.
1419 ## - always: Always show favicons.
1420 ## - never: Always hide favicons.
1421 ## - pinned: Show favicons only on pinned tabs.
1422 # c.tabs.favicons.show = 'always'
1424 ## Maximum stack size to remember for tab switches (-1 for no maximum).
1426 # c.tabs.focus_stack_size = 10
1428 ## Padding (in pixels) for tab indicators.
1430 # c.tabs.indicator.padding = {'top': 2, 'bottom': 2, 'left': 0, 'right': 4}
1432 ## Width (in pixels) of the progress indicator (0 to disable).
1434 # c.tabs.indicator.width = 3
1436 ## How to behave when the last tab is closed.
1439 ## - ignore: Don't do anything.
1440 ## - blank: Load a blank page.
1441 ## - startpage: Load the start page.
1442 ## - default-page: Load the default page.
1443 ## - close: Close the window.
1444 # c.tabs.last_close = 'ignore'
1446 ## Maximum width (in pixels) of tabs (-1 for no maximum). This setting
1447 ## only applies when tabs are horizontal. This setting does not apply to
1448 ## pinned tabs, unless `tabs.pinned.shrink` is False. This setting may
1449 ## not apply properly if max_width is smaller than the minimum size of
1450 ## tab contents, or smaller than tabs.min_width.
1452 # c.tabs.max_width = -1
1454 ## Minimum width (in pixels) of tabs (-1 for the default minimum size
1455 ## behavior). This setting only applies when tabs are horizontal. This
1456 ## setting does not apply to pinned tabs, unless `tabs.pinned.shrink` is
1459 # c.tabs.min_width = -1
1461 ## When switching tabs, what input mode is applied.
1464 ## - persist: Retain the current mode.
1465 ## - restore: Restore previously saved mode.
1466 ## - normal: Always revert to normal mode.
1467 # c.tabs.mode_on_change = 'normal'
1469 ## Switch between tabs using the mouse wheel.
1471 # c.tabs.mousewheel_switching = True
1473 ## Position of new tabs opened from another tab. See
1474 ## `tabs.new_position.stacking` for controlling stacking behavior.
1475 ## Type: NewTabPosition
1477 ## - prev: Before the current tab.
1478 ## - next: After the current tab.
1479 ## - first: At the beginning.
1480 ## - last: At the end.
1481 # c.tabs.new_position.related = 'next'
1483 ## Stack related tabs on top of each other when opened consecutively.
1484 ## Only applies for `next` and `prev` values of
1485 ## `tabs.new_position.related` and `tabs.new_position.unrelated`.
1487 # c.tabs.new_position.stacking = True
1489 ## Position of new tabs which are not opened from another tab. See
1490 ## `tabs.new_position.stacking` for controlling stacking behavior.
1491 ## Type: NewTabPosition
1493 ## - prev: Before the current tab.
1494 ## - next: After the current tab.
1495 ## - first: At the beginning.
1496 ## - last: At the end.
1497 c
.tabs
.new_position
.unrelated
= 'next'
1499 ## Padding (in pixels) around text for tabs.
1501 # c.tabs.padding = {'top': 0, 'bottom': 0, 'left': 5, 'right': 5}
1503 ## Force pinned tabs to stay at fixed URL.
1505 # c.tabs.pinned.frozen = True
1507 ## Shrink pinned tabs down to their contents.
1509 # c.tabs.pinned.shrink = True
1511 ## Position of the tab bar.
1518 # c.tabs.position = 'top'
1520 ## Which tab to select when the focused tab is removed.
1521 ## Type: SelectOnRemove
1523 ## - prev: Select the tab which came before the closed one (left in horizontal, above in vertical).
1524 ## - next: Select the tab which came after the closed one (right in horizontal, below in vertical).
1525 ## - last-used: Select the previously selected tab.
1526 c
.tabs
.select_on_remove
= 'prev'
1528 ## When to show the tab bar.
1531 ## - always: Always show the tab bar.
1532 ## - never: Always hide the tab bar.
1533 ## - multiple: Hide the tab bar if only one tab is open.
1534 ## - switching: Show the tab bar when switching tabs.
1535 # c.tabs.show = 'always'
1537 ## Duration (in milliseconds) to show the tab bar before hiding it when
1538 ## tabs.show is set to 'switching'.
1540 # c.tabs.show_switching_delay = 800
1542 ## Open a new window for every tab.
1544 # c.tabs.tabs_are_windows = False
1546 ## Alignment of the text inside of tabs.
1547 ## Type: TextAlignment
1552 # c.tabs.title.alignment = 'left'
1554 ## Format to use for the tab title. The following placeholders are
1556 ## * `{perc}`: Percentage as a string like `[10%]`.
1557 ## * `{perc_raw}`: Raw percentage, e.g. `10`.
1558 ## * `{current_title}`: Title of the current web page.
1559 ## * `{title_sep}`: The string ` - ` if a title is set, empty otherwise.
1560 ## * `{index}`: Index of this tab.
1561 ## * `{id}`: Internal tab ID of this tab.
1562 ## * `{scroll_pos}`: Page scroll position.
1563 ## * `{host}`: Host of the current web page.
1564 ## * `{backend}`: Either ''webkit'' or ''webengine''
1565 ## * `{private}`: Indicates when private mode is enabled.
1566 ## * `{current_url}`: URL of the current web page.
1567 ## * `{protocol}`: Protocol (http/https/...) of the current web page.
1568 ## * `{audio}`: Indicator for audio/mute status.
1569 ## Type: FormatString
1570 # c.tabs.title.format = '{audio}{index}: {current_title}'
1572 ## Format to use for the tab title for pinned tabs. The same placeholders
1573 ## like for `tabs.title.format` are defined.
1574 ## Type: FormatString
1575 # c.tabs.title.format_pinned = '{index}'
1577 ## Show tooltips on tabs. Note this setting only affects windows opened
1578 ## after it has been set.
1580 # c.tabs.tooltips = True
1582 ## Number of close tab actions to remember, per window (-1 for no
1585 # c.tabs.undo_stack_size = 100
1587 ## Width (in pixels or as percentage of the window) of the tab bar if
1590 # c.tabs.width = '20%'
1592 ## Wrap when changing tabs.
1594 # c.tabs.wrap = True
1596 ## What search to start when something else than a URL is entered.
1599 ## - naive: Use simple/naive check.
1600 ## - dns: Use DNS requests (might be slow!).
1601 ## - never: Never search automatically.
1602 # c.url.auto_search = 'naive'
1604 ## Page to open if :open -t/-b/-w is used without URL. Use `about:blank`
1605 ## for a blank page.
1607 c
.url
.default_page
= 'https://duckduckgo.com/?t=chakra'
1609 ## URL segments where `:navigate increment/decrement` will search for a
1618 # c.url.incdec_segments = ['path', 'query']
1620 ## Open base URL of the searchengine if a searchengine shortcut is
1621 ## invoked without parameters.
1623 # c.url.open_base_url = False
1625 ## Search engines which can be used via the address bar. Maps a search
1626 ## engine name (such as `DEFAULT`, or `ddg`) to a URL with a `{}`
1627 ## placeholder. The placeholder will be replaced by the search term, use
1628 ## `{{` and `}}` for literal `{`/`}` signs. The search engine named
1629 ## `DEFAULT` is used when `url.auto_search` is turned on and something
1630 ## else than a URL was entered to be opened. Other search engines can be
1631 ## used by prepending the search engine name to the search term, e.g.
1632 ## `:open google qutebrowser`.
1634 c
.url
.searchengines
= {'DEFAULT': 'https://duckduckgo.com/?t=chakra&q={}
',
1635 'ddg
': 'https
://duckduckgo
.com
/?t
=chakra
&q
={}',
1636 'slack
': 'https
://focalpointpositioning
.slack
.com
/messages
/{}',
1637 'std
': 'http
://en
.cppreference
.com
/mwiki
/index
.php?title
=Special
%3ASearch
&search
={}',
1640 ## Page(s) to open at the start.
1641 ## Type: List of FuzzyUrl, or FuzzyUrl
1642 # c.url.start_pages = ['https
://start
.duckduckgo
.com
']
1644 ## URL parameters to strip with `:yank url`.
1645 ## Type: List of String
1646 # c.url.yank_ignored_parameters = ['ref
', 'utm_source
', 'utm_medium
', 'utm_campaign
', 'utm_term
', 'utm_content
']
1648 ## Hide the window decoration. This setting requires a restart on
1651 # c.window.hide_decoration = False
1653 ## Format to use for the window title. The same placeholders like for
1654 ## `tabs.title.format` are defined.
1655 ## Type: FormatString
1656 # c.window.title_format = '{perc}{current_title}{title_sep}qutebrowser
'
1658 ## Default zoom level.
1660 # c.zoom.default = '100%'
1662 ## Available zoom levels.
1663 ## Type: List of Perc
1664 # c.zoom.levels = ['25%', '33%', '50%', '67%', '75%', '90%', '100%', '110%', '125%', '150%', '175%', '200%', '250%', '300%', '400%', '500%']
1666 ## Number of zoom increments to divide the mouse wheel movements to.
1668 # c.zoom.mouse_divider = 512
1670 ## Apply the zoom factor on a frame only to the text or to all content.
1672 # c.zoom.text_only = False
1674 ## Bindings for normal mode
1675 # config.bind("'", 'enter-mode jump_mark')
1676 # config.bind('+', 'zoom-in')
1677 # config.bind('-', 'zoom-out')
1678 # config.bind('.', 'repeat-command')
1679 # config.bind('/', 'set-cmd-text /')
1680 # config.bind(':', 'set-cmd-text :')
1681 # config.bind(';I', 'hint images tab')
1682 # config.bind(';O', 'hint links fill :open -t -r {hint-url}')
1683 # config.bind(';R', 'hint --rapid links window')
1684 # config.bind(';Y', 'hint links yank-primary')
1685 # config.bind(';b', 'hint all tab-bg')
1686 # config.bind(';d', 'hint links download')
1687 # config.bind(';f', 'hint all tab-fg')
1688 # config.bind(';h', 'hint all hover')
1689 # config.bind(';i', 'hint images')
1690 # config.bind(';o', 'hint links fill :open {hint-url}')
1691 # config.bind(';r', 'hint --rapid links tab-bg')
1692 # config.bind(';t', 'hint inputs')
1693 # config.bind(';y', 'hint links yank')
1694 # config.bind('<Alt-1>', 'tab-focus 1')
1695 # config.bind('<Alt-2>', 'tab-focus 2')
1696 # config.bind('<Alt-3>', 'tab-focus 3')
1697 # config.bind('<Alt-4>', 'tab-focus 4')
1698 # config.bind('<Alt-5>', 'tab-focus 5')
1699 # config.bind('<Alt-6>', 'tab-focus 6')
1700 # config.bind('<Alt-7>', 'tab-focus 7')
1701 # config.bind('<Alt-8>', 'tab-focus 8')
1702 # config.bind('<Alt-9>', 'tab-focus -1')
1703 # config.bind('<Alt-m>', 'tab-mute')
1704 # config.bind('<Ctrl-A>', 'navigate increment')
1705 # config.bind('<Ctrl-Alt-p>', 'print')
1706 # config.bind('<Ctrl-B>', 'scroll-page 0 -1')
1707 # config.bind('<Ctrl-D>', 'scroll-page 0 0.5')
1708 # config.bind('<Ctrl-F5>', 'reload -f')
1709 # config.bind('<Ctrl-F>', 'scroll-page 0 1')
1710 # config.bind('<Ctrl-N>', 'open -w')
1711 # config.bind('<Ctrl-PgDown>', 'tab-next')
1712 # config.bind('<Ctrl-PgUp>', 'tab-prev')
1713 # config.bind('<Ctrl-Q>', 'quit')
1714 # config.bind('<Ctrl-Return>', 'follow-selected -t')
1715 # config.bind('<Ctrl-Shift-N>', 'open -p')
1716 # config.bind('<Ctrl-Shift-T>', 'undo')
1717 # config.bind('<Ctrl-Shift-Tab>', 'nop')
1718 # config.bind('<Ctrl-Shift-W>', 'close')
1719 # config.bind('<Ctrl-T>', 'open -t')
1720 # config.bind('<Ctrl-Tab>', 'tab-focus last')
1721 # config.bind('<Ctrl-U>', 'scroll-page 0 -0.5')
1722 # config.bind('<Ctrl-V>', 'enter-mode passthrough')
1723 # config.bind('<Ctrl-W>', 'tab-close')
1724 # config.bind('<Ctrl-X>', 'navigate decrement')
1725 # config.bind('<Ctrl-^>', 'tab-focus last')
1726 # config.bind('<Ctrl-h>', 'home')
1727 # config.bind('<Ctrl-p>', 'tab-pin')
1728 # config.bind('<Ctrl-s>', 'stop')
1729 config.bind('<Escape>', 'clear-keychain ;; search ;; fullscreen --leave ;; fake-key <Escape>')
1730 # config.bind('<F11>', 'fullscreen')
1731 # config.bind('<F5>', 'reload')
1732 # config.bind('<Return>', 'follow-selected')
1733 # config.bind('<back>', 'back')
1734 # config.bind('<forward>', 'forward')
1735 # config.bind('=', 'zoom')
1736 # config.bind('?', 'set-cmd-text ?')
1737 # config.bind('@', 'run-macro')
1738 # config.bind('B', 'set-cmd-text -s :quickmark-load -t')
1739 # config.bind('D', 'tab-close -o')
1740 # config.bind('F', 'hint all tab')
1741 # config.bind('G', 'scroll-to-perc')
1742 # config.bind('H', 'back')
1743 config.bind('K', 'tab-next')
1744 config.bind('J', 'tab-prev')
1745 # config.bind('L', 'forward')
1746 # config.bind('M', 'bookmark-add')
1747 # config.bind('N', 'search-prev')
1748 # config.bind('O', 'set-cmd-text -s :open -t')
1749 # config.bind('PP', 'open -t -- {primary}')
1750 # config.bind('Pp', 'open -t -- {clipboard}')
1751 # config.bind('R', 'reload -f')
1752 # config.bind('Sb', 'open qute://bookmarks#bookmarks')
1753 # config.bind('Sh', 'open qute://history')
1754 # config.bind('Sq', 'open qute://bookmarks')
1755 # config.bind('Ss', 'open qute://settings')
1756 # config.bind('T', 'tab-focus')
1757 # config.bind('ZQ', 'quit')
1758 # config.bind('ZZ', 'quit --save')
1759 # config.bind('[[', 'navigate prev')
1760 # config.bind(']]', 'navigate next')
1761 # config.bind('`', 'enter-mode set_mark')
1762 # config.bind('ad', 'download-cancel')
1763 # config.bind('b', 'set-cmd-text -s :quickmark-load')
1764 # config.bind('cd', 'download-clear')
1766 config.bind('co', 'download-open')
1767 # config.bind('d', 'tab-close')
1768 # config.bind('f', 'hint')
1769 # config.bind('g$', 'tab-focus -1')
1770 # config.bind('g0', 'tab-focus 1')
1771 # config.bind('gB', 'set-cmd-text -s :bookmark-load -t')
1772 # config.bind('gC', 'tab-clone')
1773 # config.bind('gD', 'tab-give')
1774 # config.bind('gO', 'set-cmd-text :open -t -r {url:pretty}')
1775 # config.bind('gU', 'navigate up -t')
1776 # config.bind('g^', 'tab-focus 1')
1777 # config.bind('ga', 'open -t')
1778 # config.bind('gb', 'set-cmd-text -s :bookmark-load')
1779 # config.bind('gd', 'download')
1780 # config.bind('gf', 'view-source')
1781 # config.bind('gg', 'scroll-to-perc 0')
1782 # config.bind('gi', 'hint inputs --first')
1783 # config.bind('gl', 'tab-move -')
1784 # config.bind('gm', 'tab-move')
1785 # config.bind('go', 'set-cmd-text :open {url:pretty}')
1786 # config.bind('gr', 'tab-move +')
1787 # config.bind('gt', 'set-cmd-text -s :buffer')
1788 # config.bind('gu', 'navigate up')
1789 # config.bind('h', 'scroll left')
1790 # config.bind('i', 'enter-mode insert')
1791 # config.bind('j', 'scroll down')
1792 # config.bind('k', 'scroll up')
1793 # config.bind('l', 'scroll right')
1794 # config.bind('m', 'quickmark-save')
1795 config.bind('m', 'spawn mpv {url}')
1796 # config.bind('n', 'search-next')
1797 # config.bind('o', 'set-cmd-text -s :open')
1798 # config.bind('pP', 'open -- {primary}')
1799 # config.bind('pp', 'open -- {clipboard}')
1800 # config.bind('q', 'record-macro')
1801 # config.bind('r', 'reload')
1802 # config.bind('sf', 'save')
1803 # config.bind('sk', 'set-cmd-text -s :bind')
1804 # config.bind('sl', 'set-cmd-text -s :set -t')
1805 # config.bind('ss', 'set-cmd-text -s :set')
1806 # config.bind('tIH', 'config-cycle -p -u *://*.{url:host}/* content.images ;; reload')
1807 # config.bind('tIh', 'config-cycle -p -u *://{url:host}/* content.images ;; reload')
1808 # config.bind('tIu', 'config-cycle -p -u {url} content.images ;; reload')
1809 # config.bind('tPH', 'config-cycle -p -u *://*.{url:host}/* content.plugins ;; reload')
1810 # config.bind('tPh', 'config-cycle -p -u *://{url:host}/* content.plugins ;; reload')
1811 # config.bind('tPu', 'config-cycle -p -u {url} content.plugins ;; reload')
1812 # config.bind('tSH', 'config-cycle -p -u *://*.{url:host}/* content.javascript.enabled ;; reload')
1813 # config.bind('tSh', 'config-cycle -p -u *://{url:host}/* content.javascript.enabled ;; reload')
1814 # config.bind('tSu', 'config-cycle -p -u {url} content.javascript.enabled ;; reload')
1815 # config.bind('th', 'back -t')
1816 # config.bind('tiH', 'config-cycle -p -t -u *://*.{url:host}/* content.images ;; reload')
1817 # config.bind('tih', 'config-cycle -p -t -u *://{url:host}/* content.images ;; reload')
1818 # config.bind('tiu', 'config-cycle -p -t -u {url} content.images ;; reload')
1819 # config.bind('tl', 'forward -t')
1820 # config.bind('tpH', 'config-cycle -p -t -u *://*.{url:host}/* content.plugins ;; reload')
1821 # config.bind('tph', 'config-cycle -p -t -u *://{url:host}/* content.plugins ;; reload')
1822 # config.bind('tpu', 'config-cycle -p -t -u {url} content.plugins ;; reload')
1823 # config.bind('tsH', 'config-cycle -p -t -u *://*.{url:host}/* content.javascript.enabled ;; reload')
1824 # config.bind('tsh', 'config-cycle -p -t -u *://{url:host}/* content.javascript.enabled ;; reload')
1825 # config.bind('tsu', 'config-cycle -p -t -u {url} content.javascript.enabled ;; reload')
1826 # config.bind('u', 'undo')
1827 # config.bind('v', 'enter-mode caret')
1828 # config.bind('wB', 'set-cmd-text -s :bookmark-load -w')
1829 # config.bind('wO', 'set-cmd-text :open -w {url:pretty}')
1830 # config.bind('wP', 'open -w -- {primary}')
1831 # config.bind('wb', 'set-cmd-text -s :quickmark-load -w')
1832 # config.bind('wf', 'hint all window')
1833 # config.bind('wh', 'back -w')
1834 # config.bind('wi', 'inspector')
1835 # config.bind('wl', 'forward -w')
1836 # config.bind('wo', 'set-cmd-text -s :open -w')
1837 # config.bind('wp', 'open -w -- {clipboard}')
1838 # config.bind('xO', 'set-cmd-text :open -b -r {url:pretty}')
1839 # config.bind('xo', 'set-cmd-text -s :open -b')
1840 # config.bind('yD', 'yank domain -s')
1841 # config.bind('yM', 'yank inline [{title}]({url}) -s')
1842 # config.bind('yP', 'yank pretty-url -s')
1843 # config.bind('yT', 'yank title -s')
1844 # config.bind('yY', 'yank -s')
1845 # config.bind('yd', 'yank domain')
1846 # config.bind('ym', 'yank inline [{title}]({url})')
1847 # config.bind('yp', 'yank pretty-url')
1848 # config.bind('yt', 'yank title')
1849 # config.bind('yy', 'yank')
1850 # config.bind('{{', 'navigate prev -t')
1851 # config.bind('}}', 'navigate next -t')
1853 ## Bindings for caret mode
1854 # config.bind('$', 'move-to-end-of-line', mode='caret')
1855 # config.bind('0', 'move-to-start-of-line', mode='caret')
1856 # config.bind('<Ctrl-Space>', 'drop-selection', mode='caret')
1857 # config.bind('<Escape>', 'leave-mode', mode='caret')
1858 # config.bind('<Return>', 'yank selection', mode='caret')
1859 # config.bind('<Space>', 'toggle-selection', mode='caret')
1860 # config.bind('G', 'move-to-end-of-document', mode='caret')
1861 # config.bind('H', 'scroll left', mode='caret')
1862 # config.bind('J', 'scroll down', mode='caret')
1863 # config.bind('K', 'scroll up', mode='caret')
1864 # config.bind('L', 'scroll right', mode='caret')
1865 # config.bind('Y', 'yank selection -s', mode='caret')
1866 # config.bind('[', 'move-to-start-of-prev-block', mode='caret')
1867 # config.bind(']', 'move-to-start-of-next-block', mode='caret')
1868 # config.bind('b', 'move-to-prev-word', mode='caret')
1869 # config.bind('c', 'enter-mode normal', mode='caret')
1870 # config.bind('e', 'move-to-end-of-word', mode='caret')
1871 # config.bind('gg', 'move-to-start-of-document', mode='caret')
1872 # config.bind('h', 'move-to-prev-char', mode='caret')
1873 # config.bind('j', 'move-to-next-line', mode='caret')
1874 # config.bind('k', 'move-to-prev-line', mode='caret')
1875 # config.bind('l', 'move-to-next-char', mode='caret')
1876 # config.bind('o', 'reverse-selection', mode='caret')
1877 # config.bind('v', 'toggle-selection', mode='caret')
1878 # config.bind('w', 'move-to-next-word', mode='caret')
1879 # config.bind('y', 'yank selection', mode='caret')
1880 # config.bind('{', 'move-to-end-of-prev-block', mode='caret')
1881 # config.bind('}', 'move-to-end-of-next-block', mode='caret')
1883 ## Bindings for command mode
1884 # config.bind('<Alt-B>', 'rl-backward-word', mode='command')
1885 # config.bind('<Alt-Backspace>', 'rl-backward-kill-word', mode='command')
1886 # config.bind('<Alt-D>', 'rl-kill-word', mode='command')
1887 # config.bind('<Alt-F>', 'rl-forward-word', mode='command')
1888 # config.bind('<Ctrl-?>', 'rl-delete-char', mode='command')
1889 # config.bind('<Ctrl-A>', 'rl-beginning-of-line', mode='command')
1890 # config.bind('<Ctrl-B>', 'rl-backward-char', mode='command')
1891 # config.bind('<Ctrl-C>', 'completion-item-yank', mode='command')
1892 # config.bind('<Ctrl-D>', 'completion-item-del', mode='command')
1893 # config.bind('<Ctrl-E>', 'rl-end-of-line', mode='command')
1894 # config.bind('<Ctrl-F>', 'rl-forward-char', mode='command')
1895 # config.bind('<Ctrl-H>', 'rl-backward-delete-char', mode='command')
1896 # config.bind('<Ctrl-K>', 'rl-kill-line', mode='command')
1897 # config.bind('<Ctrl-N>', 'command-history-next', mode='command')
1898 # config.bind('<Ctrl-P>', 'command-history-prev', mode='command')
1899 # config.bind('<Ctrl-Return>', 'command-accept --rapid', mode='command')
1900 # config.bind('<Ctrl-Shift-C>', 'completion-item-yank --sel', mode='command')
1901 # config.bind('<Ctrl-Shift-Tab>', 'completion-item-focus prev-category', mode='command')
1902 # config.bind('<Ctrl-Tab>', 'completion-item-focus next-category', mode='command')
1903 # config.bind('<Ctrl-U>', 'rl-unix-line-discard', mode='command')
1904 # config.bind('<Ctrl-W>', 'rl-unix-word-rubout', mode='command')
1905 # config.bind('<Ctrl-Y>', 'rl-yank', mode='command')
1906 # config.bind('<Down>', 'completion-item-focus --history next', mode='command')
1907 # config.bind('<Escape>', 'leave-mode', mode='command')
1908 # config.bind('<Return>', 'command-accept', mode='command')
1909 # config.bind('<Shift-Delete>', 'completion-item-del', mode='command')
1910 # config.bind('<Shift-Tab>', 'completion-item-focus prev', mode='command')
1911 # config.bind('<Tab>', 'completion-item-focus next', mode='command')
1912 # config.bind('<Up>', 'completion-item-focus --history prev', mode='command')
1914 ## Bindings for hint mode
1915 # config.bind('<Ctrl-B>', 'hint all tab-bg', mode='hint')
1916 # config.bind('<Ctrl-F>', 'hint links', mode='hint')
1917 # config.bind('<Ctrl-R>', 'hint --rapid links tab-bg', mode='hint')
1918 # config.bind('<Escape>', 'leave-mode', mode='hint')
1919 # config.bind('<Return>', 'follow-hint', mode='hint')
1921 ## Bindings for insert mode
1922 # config.bind('<Ctrl-E>', 'open-editor', mode='insert')
1923 # config.bind('<Escape>', 'leave-mode', mode='insert')
1924 # config.bind('<Shift-Ins>', 'insert-text -- {primary}', mode='insert')
1926 ## Bindings for passthrough mode
1927 # config.bind('<Shift-Escape>', 'leave-mode', mode='passthrough')
1929 ## Bindings for prompt mode
1930 # config.bind('<Alt-B>', 'rl-backward-word', mode='prompt')
1931 # config.bind('<Alt-Backspace>', 'rl-backward-kill-word', mode='prompt')
1932 # config.bind('<Alt-D>', 'rl-kill-word', mode='prompt')
1933 # config.bind('<Alt-F>', 'rl-forward-word', mode='prompt')
1934 # config.bind('<Alt-Shift-Y>', 'prompt-yank --sel', mode='prompt')
1935 # config.bind('<Alt-Y>', 'prompt-yank', mode='prompt')
1936 # config.bind('<Ctrl-?>', 'rl-delete-char', mode='prompt')
1937 # config.bind('<Ctrl-A>', 'rl-beginning-of-line', mode='prompt')
1938 # config.bind('<Ctrl-B>', 'rl-backward-char', mode='prompt')
1939 # config.bind('<Ctrl-E>', 'rl-end-of-line', mode='prompt')
1940 # config.bind('<Ctrl-F>', 'rl-forward-char', mode='prompt')
1941 # config.bind('<Ctrl-H>', 'rl-backward-delete-char', mode='prompt')
1942 # config.bind('<Ctrl-K>', 'rl-kill-line', mode='prompt')
1943 # config.bind('<Ctrl-P>', 'prompt-open-download --pdfjs', mode='prompt')
1944 # config.bind('<Ctrl-U>', 'rl-unix-line-discard', mode='prompt')
1945 # config.bind('<Ctrl-W>', 'rl-unix-word-rubout', mode='prompt')
1946 # config.bind('<Ctrl-X>', 'prompt-open-download', mode='prompt')
1947 # config.bind('<Ctrl-Y>', 'rl-yank', mode='prompt')
1948 # config.bind('<Down>', 'prompt-item-focus next', mode='prompt')
1949 # config.bind('<Escape>', 'leave-mode', mode='prompt')
1950 # config.bind('<Return>', 'prompt-accept', mode='prompt')
1951 # config.bind('<Shift-Tab>', 'prompt-item-focus prev', mode='prompt')
1952 # config.bind('<Tab>', 'prompt-item-focus next', mode='prompt')
1953 # config.bind('<Up>', 'prompt-item-focus prev', mode='prompt')
1955 ## Bindings for register mode
1956 # config.bind('<Escape>', 'leave-mode', mode='register')
1958 ## Bindings for yesno mode
1959 # config.bind('<Alt-Shift-Y>', 'prompt-yank --sel', mode='yesno')
1960 # config.bind('<Alt-Y>', 'prompt-yank', mode='yesno')
1961 # config.bind('<Escape>', 'leave-mode', mode='yesno')
1962 # config.bind('<Return>', 'prompt-accept', mode='yesno')
1963 # config.bind('N', 'prompt-accept --save no', mode='yesno')
1964 # config.bind('Y', 'prompt-accept --save yes', mode='yesno')
1965 # config.bind('n', 'prompt-accept no', mode='yesno')
1966 # config.bind('y', 'prompt-accept yes', mode='yesno')