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',
17 'mpv': 'spawn --userscript ~/src/qutebrowser/misc/userscripts/view_in_mpv'
20 ## How often (in milliseconds) to auto-save config/cookies/etc.
22 # c.auto_save.interval = 15000
24 ## Always restore open sites when qutebrowser is reopened.
26 c
.auto_save
.session
= True
28 ## The backend to use to display websites. qutebrowser supports two
29 ## different web rendering engines / backends, QtWebKit and QtWebEngine.
30 ## QtWebKit was discontinued by the Qt project with Qt 5.6, but picked up
31 ## as a well maintained fork: https://github.com/annulen/webkit/wiki -
32 ## qutebrowser only supports the fork. QtWebEngine is Qt's official
33 ## successor to QtWebKit. It's slightly more resource hungry that
34 ## QtWebKit and has a couple of missing features in qutebrowser, but is
35 ## generally the preferred choice. This setting requires a restart.
38 ## - webengine: Use QtWebEngine (based on Chromium)
39 ## - webkit: Use QtWebKit (based on WebKit, similar to Safari)
40 # c.backend = 'webengine'
42 ## This setting can be used to map keys to other keys. When the key used
43 ## as dictionary-key is pressed, the binding for the key used as
44 ## dictionary-value is invoked instead. This is useful for global
45 ## remappings of keys, for example to map Ctrl-[ to Escape. Note that
46 ## when a key is bound (via `bindings.default` or `bindings.commands`),
47 ## the mapping is ignored.
49 # c.bindings.key_mappings = {'<Ctrl-6>': '<Ctrl-^>', '<Ctrl-[>': '<Escape>', '<Shift-Return>': '<Return>', '<Enter>': '<Return>', '<Shift-Enter>': '<Return>', '<Ctrl-J>': '<Return>', '<Ctrl-Enter>': '<Ctrl-Return>', '<Ctrl-M>': '<Return>'}
51 ## Background color of the completion widget category headers.
53 # c.colors.completion.category.bg = 'qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #888888, stop:1 #505050)'
55 ## Bottom border color of the completion widget category headers.
57 # c.colors.completion.category.border.bottom = 'black'
59 ## Top border color of the completion widget category headers.
61 # c.colors.completion.category.border.top = 'black'
63 ## Foreground color of completion widget category headers.
65 # c.colors.completion.category.fg = 'white'
67 ## Background color of the completion widget for even rows.
69 # c.colors.completion.even.bg = '#333333'
71 ## Text color of the completion widget.
73 # c.colors.completion.fg = 'white'
75 ## Background color of the selected completion item.
77 # c.colors.completion.item.selected.bg = '#e8c000'
79 ## Bottom border color of the selected completion item.
81 # c.colors.completion.item.selected.border.bottom = '#bbbb00'
83 ## Top border color of the completion widget category headers.
85 # c.colors.completion.item.selected.border.top = '#bbbb00'
87 ## Foreground color of the selected completion item.
89 # c.colors.completion.item.selected.fg = 'black'
91 ## Foreground color of the matched text in the completion.
93 # c.colors.completion.match.fg = '#ff4444'
95 ## Background color of the completion widget for odd rows.
97 # c.colors.completion.odd.bg = '#444444'
99 ## Color of the scrollbar in completion view
101 # c.colors.completion.scrollbar.bg = '#333333'
103 ## Color of the scrollbar handle in completion view.
105 # c.colors.completion.scrollbar.fg = 'white'
107 ## Background color for the download bar.
109 # c.colors.downloads.bar.bg = 'black'
111 ## Background color for downloads with errors.
113 # c.colors.downloads.error.bg = 'red'
115 ## Foreground color for downloads with errors.
117 # c.colors.downloads.error.fg = 'white'
119 ## Color gradient start for download backgrounds.
121 # c.colors.downloads.start.bg = '#0000aa'
123 ## Color gradient start for download text.
125 # c.colors.downloads.start.fg = 'white'
127 ## Color gradient stop for download backgrounds.
129 # c.colors.downloads.stop.bg = '#00aa00'
131 ## Color gradient end for download text.
133 # c.colors.downloads.stop.fg = 'white'
135 ## Color gradient interpolation system for download backgrounds.
138 ## - rgb: Interpolate in the RGB color system.
139 ## - hsv: Interpolate in the HSV color system.
140 ## - hsl: Interpolate in the HSL color system.
141 ## - none: Don't show a gradient.
142 # c.colors.downloads.system.bg = 'rgb'
144 ## Color gradient interpolation system for download text.
147 ## - rgb: Interpolate in the RGB color system.
148 ## - hsv: Interpolate in the HSV color system.
149 ## - hsl: Interpolate in the HSL color system.
150 ## - none: Don't show a gradient.
151 # c.colors.downloads.system.fg = 'rgb'
153 ## Background color for hints. Note that you can use a `rgba(...)` value
156 # 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))'
158 ## Font color for hints.
160 # c.colors.hints.fg = 'black'
162 ## Font color for the matched part of hints.
164 # c.colors.hints.match.fg = 'green'
166 ## Background color of the keyhint widget.
168 # c.colors.keyhint.bg = 'rgba(0, 0, 0, 80%)'
170 ## Text color for the keyhint widget.
172 # c.colors.keyhint.fg = '#FFFFFF'
174 ## Highlight color for keys to complete the current keychain.
176 # c.colors.keyhint.suffix.fg = '#FFFF00'
178 ## Background color of an error message.
180 # c.colors.messages.error.bg = 'red'
182 ## Border color of an error message.
184 # c.colors.messages.error.border = '#bb0000'
186 ## Foreground color of an error message.
188 # c.colors.messages.error.fg = 'white'
190 ## Background color of an info message.
192 # c.colors.messages.info.bg = 'black'
194 ## Border color of an info message.
196 # c.colors.messages.info.border = '#333333'
198 ## Foreground color an info message.
200 # c.colors.messages.info.fg = 'white'
202 ## Background color of a warning message.
204 # c.colors.messages.warning.bg = 'darkorange'
206 ## Border color of an error message.
208 # c.colors.messages.warning.border = '#d47300'
210 ## Foreground color a warning message.
212 # c.colors.messages.warning.fg = 'white'
214 ## Background color for prompts.
216 c
.colors
.prompts
.bg
= '#333333'
218 ## Border used around UI elements in prompts.
220 # c.colors.prompts.border = '1px solid gray'
222 ## Foreground color for prompts.
224 # c.colors.prompts.fg = 'white'
226 ## Background color for the selected item in filename prompts.
228 # c.colors.prompts.selected.bg = 'grey'
230 ## Background color of the statusbar in caret mode.
232 # c.colors.statusbar.caret.bg = 'purple'
234 ## Foreground color of the statusbar in caret mode.
236 # c.colors.statusbar.caret.fg = 'white'
238 ## Background color of the statusbar in caret mode with a selection.
240 # c.colors.statusbar.caret.selection.bg = '#a12dff'
242 ## Foreground color of the statusbar in caret mode with a selection.
244 # c.colors.statusbar.caret.selection.fg = 'white'
246 ## Background color of the statusbar in command mode.
248 # c.colors.statusbar.command.bg = 'black'
250 ## Foreground color of the statusbar in command mode.
252 # c.colors.statusbar.command.fg = 'white'
254 ## Background color of the statusbar in private browsing + command mode.
256 # c.colors.statusbar.command.private.bg = 'grey'
258 ## Foreground color of the statusbar in private browsing + command mode.
260 # c.colors.statusbar.command.private.fg = 'white'
262 ## Background color of the statusbar in insert mode.
264 # c.colors.statusbar.insert.bg = 'darkgreen'
266 ## Foreground color of the statusbar in insert mode.
268 # c.colors.statusbar.insert.fg = 'white'
270 ## Background color of the statusbar.
272 # c.colors.statusbar.normal.bg = 'black'
274 ## Foreground color of the statusbar.
276 # c.colors.statusbar.normal.fg = 'white'
278 ## Background color of the statusbar in private browsing mode.
280 # c.colors.statusbar.private.bg = '#666666'
282 ## Foreground color of the statusbar in private browsing mode.
284 # c.colors.statusbar.private.fg = 'white'
286 ## Background color of the progress bar.
288 # c.colors.statusbar.progress.bg = 'white'
290 ## Foreground color of the URL in the statusbar on error.
292 # c.colors.statusbar.url.error.fg = 'orange'
294 ## Default foreground color of the URL in the statusbar.
296 # c.colors.statusbar.url.fg = 'white'
298 ## Foreground color of the URL in the statusbar for hovered links.
300 # c.colors.statusbar.url.hover.fg = 'aqua'
302 ## Foreground color of the URL in the statusbar on successful load
305 # c.colors.statusbar.url.success.http.fg = 'white'
307 ## Foreground color of the URL in the statusbar on successful load
310 # c.colors.statusbar.url.success.https.fg = 'lime'
312 ## Foreground color of the URL in the statusbar when there's a warning.
314 # c.colors.statusbar.url.warn.fg = 'yellow'
316 ## Background color of the tab bar.
318 # c.colors.tabs.bar.bg = '#555555'
320 ## Background color of unselected even tabs.
322 # c.colors.tabs.even.bg = 'darkgrey'
324 ## Foreground color of unselected even tabs.
326 # c.colors.tabs.even.fg = 'white'
328 ## Color for the tab indicator on errors.
330 # c.colors.tabs.indicator.error = '#ff0000'
332 ## Color gradient start for the tab indicator.
334 # c.colors.tabs.indicator.start = '#0000aa'
336 ## Color gradient end for the tab indicator.
338 # c.colors.tabs.indicator.stop = '#00aa00'
340 ## Color gradient interpolation system for the tab indicator.
343 ## - rgb: Interpolate in the RGB color system.
344 ## - hsv: Interpolate in the HSV color system.
345 ## - hsl: Interpolate in the HSL color system.
346 ## - none: Don't show a gradient.
347 # c.colors.tabs.indicator.system = 'rgb'
349 ## Background color of unselected odd tabs.
351 # c.colors.tabs.odd.bg = 'grey'
353 ## Foreground color of unselected odd tabs.
355 # c.colors.tabs.odd.fg = 'white'
357 ## Background color of selected even tabs.
359 # c.colors.tabs.selected.even.bg = 'black'
361 ## Foreground color of selected even tabs.
363 # c.colors.tabs.selected.even.fg = 'white'
365 ## Background color of selected odd tabs.
367 # c.colors.tabs.selected.odd.bg = 'black'
369 ## Foreground color of selected odd tabs.
371 # c.colors.tabs.selected.odd.fg = 'white'
373 ## Background color for webpages if unset (or empty to use the theme's
376 # c.colors.webpage.bg = 'white'
378 ## How many commands to save in the command history. 0: no history / -1:
381 # c.completion.cmd_history_max_items = 100
383 ## The height of the completion, in px or as percentage of the window.
385 c
.completion
.height
= 150
387 ## Move on to the next part when there's only one possible completion
390 c
.completion
.quick
= False
392 ## Padding of scrollbar handle in the completion window (in px).
394 # c.completion.scrollbar.padding = 2
396 ## Width of the scrollbar in the completion window (in px).
398 # c.completion.scrollbar.width = 12
400 ## When to show the autocompletion window.
403 ## - always: Whenever a completion is available.
404 ## - auto: Whenever a completion is requested.
406 # c.completion.show = 'always'
408 ## Shrink the completion to be smaller than the configured size if there
409 ## are no scrollbars.
411 c
.completion
.shrink
= True
413 ## How to format timestamps (e.g. for the history completion).
414 ## Type: TimestampTemplate
415 # c.completion.timestamp_format = '%Y-%m-%d'
417 ## How many URLs to show in the web history. 0: no history / -1:
420 # c.completion.web_history_max_items = -1
422 ## Whether quitting the application requires a confirmation.
425 ## - always: Always show a confirmation.
426 ## - multiple-tabs: Show a confirmation if multiple tabs are opened.
427 ## - downloads: Show a confirmation if downloads are running
428 ## - never: Never show a confirmation.
429 c
.confirm_quit
= ['downloads']
431 ## Whether support for the HTML 5 web application cache feature is
432 ## enabled. An application cache acts like an HTTP cache in some sense.
433 ## For documents that use the application cache via JavaScript, the
434 ## loader engine will first ask the application cache for the contents,
435 ## before hitting the network.
437 # c.content.cache.appcache = True
439 ## The maximum number of pages to hold in the global memory page cache.
440 ## The Page Cache allows for a nicer user experience when navigating
441 ## forth or back to pages in the forward/back history, by pausing and
442 ## resuming up to _n_ pages. For more information about the feature,
443 ## please refer to: http://webkit.org/blog/427/webkit-page-cache-i-the-
446 # c.content.cache.maximum_pages = 0
448 ## Size of the HTTP network cache. Null to use the default value.
450 # c.content.cache.size = None
452 ## Control which cookies to accept.
455 ## - all: Accept all cookies.
456 ## - no-3rdparty: Accept cookies from the same origin only.
457 ## - no-unknown-3rdparty: Accept cookies from the same origin only, unless a cookie is already set for the domain.
458 ## - never: Don't accept cookies at all.
459 # c.content.cookies.accept = 'no-3rdparty'
461 ## Store cookies. Note this option needs a restart with QtWebEngine on Qt
464 # c.content.cookies.store = True
466 ## Default encoding to use for websites. The encoding must be a string
467 ## describing an encoding such as _utf-8_, _iso-8859-1_, etc.
469 # c.content.default_encoding = 'iso-8859-1'
471 ## Enable extra tools for Web developers. This needs to be enabled for
472 ## `:inspector` to work and also adds an _Inspect_ entry to the context
473 ## menu. For QtWebEngine, see `--enable-webengine-inspector` in
474 ## `qutebrowser --help` instead.
476 # c.content.developer_extras = False
478 ## Try to pre-fetch DNS entries to speed up browsing.
480 # c.content.dns_prefetch = True
482 ## Expand each subframe to its contents. This will flatten all the frames
483 ## to become one scrollable page.
485 # c.content.frame_flattening = False
487 ## Allow websites to request geolocations.
493 # c.content.geolocation = 'ask'
495 ## Value to send in the `Accept-Language` header.
497 c
.content
.headers
.accept_language
= 'en-US,en,de,fr'
499 ## Set custom headers for qutebrowser HTTP requests.
501 # c.content.headers.custom = {}
503 ## Value to send in the `DNT` header. When this is set to true,
504 ## qutebrowser asks websites to not track your identity. If set to null,
505 ## the DNT header is not sent at all.
507 # c.content.headers.do_not_track = True
509 ## Send the Referer header. The Referer header tells websites from which
510 ## website you were coming from when visting them.
513 ## - always: Always send the Referer.
514 ## - never: Never send the Referer. This is not recommended, as some sites may break.
515 ## - same-domain: Only send the Referer for the same domain. This will still protect your privacy, but shouldn't break any sites.
516 # c.content.headers.referer = 'same-domain'
518 ## User agent to send. Unset to send the default.
520 # c.content.headers.user_agent = None
522 ## Whether host blocking is enabled.
524 # c.content.host_blocking.enabled = True
526 ## List of URLs of lists which contain hosts to block. The file can be
527 ## in one of the following formats: - An `/etc/hosts`-like file - One
528 ## host per line - A zip-file of any of the above, with either only one
529 ## file, or a file named `hosts` (with any extension).
531 # c.content.host_blocking.lists = ['https://www.malwaredomainlist.com/hostslist/hosts.txt', 'http://someonewhocares.org/hosts/hosts', 'http://winhelp2002.mvps.org/hosts.zip', 'http://malwaredomains.lehigh.edu/files/justdomains.zip', 'https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext']
533 ## List of domains that should always be loaded, despite being ad-
534 ## blocked. Domains may contain * and ? wildcards and are otherwise
535 ## required to exactly match the requested domain. Local domains are
536 ## always exempt from hostblocking.
537 ## Type: List of String
538 # c.content.host_blocking.whitelist = ['piwik.org']
540 ## Enable or disable hyperlink auditing (`<a ping>`).
542 # c.content.hyperlink_auditing = False
544 ## Whether images are automatically loaded in web pages.
546 # c.content.images = True
548 ## Show javascript alerts.
550 # c.content.javascript.alert = True
552 ## Whether JavaScript can read from or write to the clipboard. With
553 ## QtWebEngine, writing the clipboard as response to a user interaction
554 ## is always allowed.
556 # c.content.javascript.can_access_clipboard = False
558 ## Whether JavaScript can close tabs.
560 # c.content.javascript.can_close_tabs = False
562 ## Whether JavaScript can open new tabs without user interaction.
564 # c.content.javascript.can_open_tabs_automatically = False
566 ## Enables or disables JavaScript.
568 # c.content.javascript.enabled = True
570 ## Log levels to use for JavaScript console logging messages. When a
571 ## JavaScript message with the level given in the dictionary key is
572 ## logged, the corresponding dictionary value selects the qutebrowser
573 ## logger to use. On QtWebKit, the "unknown" setting is always used.
575 # c.content.javascript.log = {'info': 'debug', 'warning': 'debug', 'error': 'debug', 'unknown': 'debug'}
577 ## Use the standard JavaScript modal dialog for `alert()` and `confirm()`
579 # c.content.javascript.modal_dialog = False
581 ## Show javascript prompts.
583 # c.content.javascript.prompt = True
585 ## Whether locally loaded documents are allowed to access other local
588 # c.content.local_content_can_access_file_urls = True
590 ## Whether locally loaded documents are allowed to access remote urls.
592 # c.content.local_content_can_access_remote_urls = False
594 ## Whether support for HTML 5 local storage and Web SQL is enabled.
596 # c.content.local_storage = True
598 ## Allow websites to record audio/video.
604 # c.content.media_capture = 'ask'
606 ## Location of a netrc-file for HTTP authentication. If unset, `~/.netrc`
609 # c.content.netrc_file = None
611 ## Allow websites to show notifications.
617 # c.content.notifications = 'ask'
619 ## Enable pdf.js to view PDF files in the browser. Note that the files
620 ## can still be downloaded by clicking the download button in the pdf.js
623 # c.content.pdfjs = False
625 ## Enables or disables plugins in Web pages.
627 # c.content.plugins = False
629 ## Whether the background color and images are also drawn when the page
632 # c.content.print_element_backgrounds = True
634 ## Open new windows in private browsing mode which does not record
637 # c.content.private_browsing = False
639 ## The proxy to use. In addition to the listed values, you can use a
640 ## `socks://...` or `http://...` URL.
643 ## - system: Use the system wide proxy.
644 ## - none: Don't use any proxy
645 # c.content.proxy = 'system'
647 ## Send DNS requests over the configured proxy.
649 # c.content.proxy_dns_requests = True
651 ## Validate SSL handshakes.
657 # c.content.ssl_strict = 'ask'
659 ## A list of user stylesheet filenames to use.
660 ## Type: List of File, or File
661 # c.content.user_stylesheets = None
663 ## Enables or disables WebGL.
665 # c.content.webgl = True
667 ## Whether load requests should be monitored for cross-site scripting
668 ## attempts. Suspicious scripts will be blocked and reported in the
669 ## inspector's JavaScript console. Enabling this feature might have an
670 ## impact on performance.
672 # c.content.xss_auditing = False
674 ## The directory to save downloads to. If unset, a sensible os-specific
677 c
.downloads
.location
.directory
= "~/downloads"
679 ## Prompt the user for the download location. If set to false,
680 ## `downloads.location.directory` will be used.
682 # c.downloads.location.prompt = True
684 ## Remember the last used download directory.
686 # c.downloads.location.remember = True
688 ## What to display in the download filename input.
691 ## - path: Show only the download path.
692 ## - filename: Show only download filename.
693 ## - both: Show download path and filename.
694 # c.downloads.location.suggestion = 'path'
696 ## The default program used to open downloads. If null, the default
697 ## internal handler is used. Any `{}` in the string will be expanded to
698 ## the filename, else the filename will be appended.
700 c
.downloads
.open_dispatcher
= "rifle"
702 ## Where to show the downloaded files.
703 ## Type: VerticalPosition
707 # c.downloads.position = 'top'
709 ## Number of milliseconds to wait before removing finished downloads. If
710 ## set to -1, downloads are never removed.
712 # c.downloads.remove_finished = -1
714 ## The editor (and arguments) to use for the `open-editor` command. `{}`
715 ## gets replaced by the filename of the file to be edited.
716 ## Type: ShellCommand
717 c
.editor
.command
= ['urxvtc', '-e', 'vim', '{}']
719 ## Encoding to use for the editor.
721 # c.editor.encoding = 'utf-8'
723 ## Font used in the completion categories.
725 # c.fonts.completion.category = 'bold 8pt monospace'
727 ## Font used in the completion widget.
729 # c.fonts.completion.entry = '8pt monospace'
731 ## Font used for the debugging console.
733 # c.fonts.debug_console = '8pt monospace'
735 ## Font used for the downloadbar.
737 # c.fonts.downloads = '8pt monospace'
739 ## Font used for the hints.
741 # c.fonts.hints = 'bold 10pt monospace'
743 ## Font used in the keyhint widget.
745 # c.fonts.keyhint = '8pt monospace'
747 ## Font used for error messages.
749 # c.fonts.messages.error = '8pt monospace'
751 ## Font used for info messages.
753 # c.fonts.messages.info = '8pt monospace'
755 ## Font used for warning messages.
757 # c.fonts.messages.warning = '8pt monospace'
759 ## Default monospace fonts. Whenever "monospace" is used in a font
760 ## setting, it's replaced with the fonts listed here.
762 c
.fonts
.monospace
= 'Hack, "xos4 Terminus", Terminus, Monospace, "DejaVu Sans Mono", Monaco, "Bitstream Vera Sans Mono", "Andale Mono", "Courier New", Courier, "Liberation Mono", monospace, Fixed, Consolas, Terminal'
764 ## Font used for prompts.
766 # c.fonts.prompts = '8pt sans-serif'
768 ## Font used in the statusbar.
770 # c.fonts.statusbar = '8pt monospace'
772 ## Font used in the tab bar.
774 # c.fonts.tabs = '8pt monospace'
776 ## Font family for cursive fonts.
778 # c.fonts.web.family.cursive = ''
780 ## Font family for fantasy fonts.
782 # c.fonts.web.family.fantasy = ''
784 ## Font family for fixed fonts.
786 # c.fonts.web.family.fixed = ''
788 ## Font family for sans-serif fonts.
790 # c.fonts.web.family.sans_serif = ''
792 ## Font family for serif fonts.
794 # c.fonts.web.family.serif = ''
796 ## Font family for standard fonts.
798 # c.fonts.web.family.standard = ''
800 ## The default font size for regular text.
802 # c.fonts.web.size.default = 16
804 ## The default font size for fixed-pitch text.
806 # c.fonts.web.size.default_fixed = 13
808 ## The hard minimum font size.
810 # c.fonts.web.size.minimum = 0
812 ## The minimum logical font size that is applied when zooming out.
814 # c.fonts.web.size.minimum_logical = 6
816 ## Force software rendering for QtWebEngine. This is needed for
817 ## QtWebEngine to work with Nouveau drivers. This setting requires a
820 # c.force_software_rendering = False
822 ## Controls when a hint can be automatically followed without pressing
826 ## - always: Auto-follow whenever there is only a single hint on a page.
827 ## - unique-match: Auto-follow whenever there is a unique non-empty match in either the hint string (word mode) or filter (number mode).
828 ## - 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).
829 ## - never: The user will always need to press Enter to follow a hint.
830 # c.hints.auto_follow = 'unique-match'
832 ## A timeout (in milliseconds) to ignore normal-mode key bindings after a
833 ## successful auto-follow.
835 # c.hints.auto_follow_timeout = 0
837 ## CSS border value for hints.
839 # c.hints.border = '1px solid #E3BE23'
841 ## Chars used for hint strings.
842 ## Type: UniqueCharString
843 c
.hints
.chars
= 'aoeuidhtns'
845 ## The dictionary file to be used by the word hints.
847 # c.hints.dictionary = '/usr/share/dict/words'
849 ## Which implementation to use to find elements to hint.
852 ## - javascript: Better but slower
853 ## - python: Slightly worse but faster
854 # c.hints.find_implementation = 'python'
856 ## Hide unmatched hints in rapid mode.
858 # c.hints.hide_unmatched_rapid_hints = True
860 ## Minimum number of chars used for hint strings.
862 # c.hints.min_chars = 2
864 ## Mode to use for hints.
867 ## - 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.)
868 ## - letter: Use the chars in the `hints.chars` setting.
869 ## - word: Use hints words based on the html elements and the extra words.
870 # c.hints.mode = 'letter'
872 ## A comma-separated list of regexes to use for 'next' links.
873 ## Type: List of Regex
874 # c.hints.next_regexes = ['\\bnext\\b', '\\bmore\\b', '\\bnewer\\b', '\\b[>→≫]\\b', '\\b(>>|»)\\b', '\\bcontinue\\b']
876 ## A comma-separated list of regexes to use for 'prev' links.
877 ## Type: List of Regex
878 # c.hints.prev_regexes = ['\\bprev(ious)?\\b', '\\bback\\b', '\\bolder\\b', '\\b[<←≪]\\b', '\\b(<<|«)\\b']
880 ## Scatter hint key chains (like Vimium) or not (like dwb). Ignored for
883 c
.hints
.scatter
= False
885 ## Make chars in hint strings uppercase.
887 # c.hints.uppercase = False
889 ## The maximum time in minutes between two history items for them to be
890 ## considered being from the same browsing session. Items with less time
891 ## between them are grouped when being displayed in `:history`. Use -1 to
892 ## disable separation.
894 # c.history_gap_interval = 30
896 ## Find text on a page case-insensitively.
899 ## - always: Search case-insensitively
900 ## - never: Search case-sensitively
901 ## - smart: Search case-sensitively if there are capital chars
902 # c.ignore_case = 'smart'
904 ## Forward unbound keys to the webview in normal mode.
907 ## - all: Forward all unbound keys.
908 ## - auto: Forward unbound non-alphanumeric keys.
909 ## - none: Don't forward any keys.
910 # c.input.forward_unbound_keys = 'auto'
912 ## Leave insert mode if a non-editable element is clicked.
914 # c.input.insert_mode.auto_leave = True
916 ## Automatically enter insert mode if an editable element is focused
917 ## after loading the page.
919 # c.input.insert_mode.auto_load = False
921 ## Switch to insert mode when clicking flash and other plugins.
923 # c.input.insert_mode.plugins = False
925 ## Include hyperlinks in the keyboard focus chain when tabbing.
927 # c.input.links_included_in_focus_chain = True
929 ## Timeout (in milliseconds) for partially typed key bindings. If the
930 ## current input forms only partial matches, the keystring will be
931 ## cleared after this time.
933 # c.input.partial_timeout = 5000
935 ## Enable Opera-like mouse rocker gestures. This disables the context
938 # c.input.rocker_gestures = False
940 ## Enable Spatial Navigation. Spatial navigation consists in the ability
941 ## to navigate between focusable elements in a Web page, such as
942 ## hyperlinks and form controls, by using Left, Right, Up and Down arrow
943 ## keys. For example, if a user presses the Right key, heuristics
944 ## determine whether there is an element he might be trying to reach
945 ## towards the right and which element he probably wants.
947 # c.input.spatial_navigation = False
949 ## Keychains that shouldn't be shown in the keyhint dialog. Globs are
950 ## supported, so `;*` will blacklist all keychains starting with `;`. Use
951 ## `*` to disable keyhints.
952 ## Type: List of String
953 # c.keyhint.blacklist = []
955 ## Time from pressing a key to seeing the keyhint dialog (ms).
957 # c.keyhint.delay = 500
959 ## Time (in ms) to show messages in the statusbar for. Set to 0 to never
962 # c.messages.timeout = 2000
964 ## Show messages in unfocused windows.
966 # c.messages.unfocused = False
968 ## How to open links in an existing instance if a new one is launched.
969 ## This happens when e.g. opening a link from a terminal. See
970 ## `new_instance_open_target_window` to customize in which window the
971 ## link is opened in.
974 ## - tab: Open a new tab in the existing window and activate the window.
975 ## - tab-bg: Open a new background tab in the existing window and activate the window.
976 ## - tab-silent: Open a new tab in the existing window without activating the window.
977 ## - tab-bg-silent: Open a new background tab in the existing window without activating the window.
978 ## - window: Open in a new window.
979 # c.new_instance_open_target = 'tab'
981 ## Which window to choose when opening links as new tabs. When
982 ## `new_instance_open_target` is not set to `window`, this is ignored.
985 ## - first-opened: Open new tabs in the first (oldest) opened window.
986 ## - last-opened: Open new tabs in the last (newest) opened window.
987 ## - last-focused: Open new tabs in the most recently focused window.
988 ## - last-visible: Open new tabs in the most recently visible window.
989 # c.new_instance_open_target_window = 'last-focused'
991 ## Show a filebrowser in upload/download prompts.
993 # c.prompt.filebrowser = True
995 ## The rounding radius for the edges of prompts.
997 # c.prompt.radius = 8
999 ## Additional arguments to pass to Qt, without leading `--`. With
1000 ## QtWebEngine, some Chromium arguments (see
1001 ## https://peter.sh/experiments/chromium-command-line-switches/ for a
1002 ## list) will work. This setting requires a restart.
1003 ## Type: List of String
1006 ## Show a scrollbar.
1008 # c.scrolling.bar = False
1010 ## Enable smooth scrolling for web pages. Note smooth scrolling does not
1011 ## work with the `:scroll-px` command.
1013 # c.scrolling.smooth = False
1015 ## The name of the session to save by default. If this is set to null,
1016 ## the session which was last loaded is saved.
1017 ## Type: SessionName
1018 # c.session_default_name = None
1020 ## Hide the statusbar unless a message is shown.
1022 # c.statusbar.hide = False
1024 ## Padding for the statusbar.
1026 # c.statusbar.padding = {'left': 0, 'right': 0, 'top': 1, 'bottom': 1}
1028 ## The position of the status bar.
1029 ## Type: VerticalPosition
1033 # c.statusbar.position = 'bottom'
1035 ## Open new tabs (middleclick/ctrl+click) in the background.
1037 # c.tabs.background = False
1039 ## On which mouse button to close tabs.
1042 ## - right: Close tabs on right-click.
1043 ## - middle: Close tabs on middle-click.
1044 ## - none: Don't close tabs using the mouse.
1045 # c.tabs.close_mouse_button = 'middle'
1047 ## Scaling for favicons in the tab bar. The tab size is unchanged, so big
1048 ## favicons also require extra `tabs.padding`.
1050 # c.tabs.favicons.scale = 1.0
1052 ## Show favicons in the tab bar.
1054 # c.tabs.favicons.show = True
1056 ## Padding for tab indicators
1058 # c.tabs.indicator_padding = {'left': 0, 'right': 4, 'top': 2, 'bottom': 2}
1060 ## Behavior when the last tab is closed.
1063 ## - ignore: Don't do anything.
1064 ## - blank: Load a blank page.
1065 ## - startpage: Load the start page.
1066 ## - default-page: Load the default page.
1067 ## - close: Close the window.
1068 # c.tabs.last_close = 'ignore'
1070 ## Switch between tabs using the mouse wheel.
1072 # c.tabs.mousewheel_switching = True
1074 ## How new tabs opened from another tab are positioned.
1075 ## Type: NewTabPosition
1077 ## - prev: Before the current tab.
1078 ## - next: After the current tab.
1079 ## - first: At the beginning.
1080 ## - last: At the end.
1081 # c.tabs.new_position.related = 'next'
1083 ## How new tabs which aren't opened from another tab are positioned.
1084 ## Type: NewTabPosition
1086 ## - prev: Before the current tab.
1087 ## - next: After the current tab.
1088 ## - first: At the beginning.
1089 ## - last: At the end.
1090 c
.tabs
.new_position
.unrelated
= 'next'
1092 ## Padding around text for tabs
1094 # c.tabs.padding = {'left': 5, 'right': 5, 'top': 0, 'bottom': 0}
1096 ## The position of the tab bar.
1103 # c.tabs.position = 'top'
1105 ## Which tab to select when the focused tab is removed.
1106 ## Type: SelectOnRemove
1108 ## - prev: Select the tab which came before the closed one (left in horizontal, above in vertical).
1109 ## - next: Select the tab which came after the closed one (right in horizontal, below in vertical).
1110 ## - last-used: Select the previously selected tab.
1111 c
.tabs
.select_on_remove
= 'prev'
1113 ## When to show the tab bar.
1116 ## - always: Always show the tab bar.
1117 ## - never: Always hide the tab bar.
1118 ## - multiple: Hide the tab bar if only one tab is open.
1119 ## - switching: Show the tab bar when switching tabs.
1120 # c.tabs.show = 'always'
1122 ## Time to show the tab bar before hiding it when tabs.show is set to
1125 # c.tabs.show_switching_delay = 800
1127 ## Open a new window for every tab.
1129 # c.tabs.tabs_are_windows = False
1131 ## Alignment of the text inside of tabs.
1132 ## Type: TextAlignment
1137 # c.tabs.title.alignment = 'left'
1139 ## The format to use for the tab title. The following placeholders are
1140 ## defined: * `{perc}`: The percentage as a string like `[10%]`. *
1141 ## `{perc_raw}`: The raw percentage, e.g. `10` * `{title}`: The title of
1142 ## the current web page * `{title_sep}`: The string ` - ` if a title is
1143 ## set, empty otherwise. * `{index}`: The index of this tab. * `{id}`:
1144 ## The internal tab ID of this tab. * `{scroll_pos}`: The page scroll
1145 ## position. * `{host}`: The host of the current web page. * `{backend}`:
1146 ## Either ''webkit'' or ''webengine'' * `{private}` : Indicates when
1147 ## private mode is enabled.
1148 ## Type: FormatString
1149 # c.tabs.title.format = '{index}: {title}'
1151 ## The format to use for the tab title for pinned tabs. The same
1152 ## placeholders like for `tabs.title.format` are defined.
1153 ## Type: FormatString
1154 # c.tabs.title.format_pinned = '{index}'
1156 ## The width of the tab bar if it's vertical, in px or as percentage of
1159 # c.tabs.width.bar = '20%'
1161 ## Width of the progress indicator (0 to disable).
1163 # c.tabs.width.indicator = 3
1165 ## Whether to wrap when changing tabs.
1167 # c.tabs.wrap = True
1169 ## Whether to start a search when something else than a URL is entered.
1172 ## - naive: Use simple/naive check.
1173 ## - dns: Use DNS requests (might be slow!).
1174 ## - never: Never search automatically.
1175 # c.url.auto_search = 'naive'
1177 ## The page to open if :open -t/-b/-w is used without URL. Use
1178 ## `about:blank` for a blank page.
1180 c
.url
.default_page
= 'https://duckduckgo.com/?t=chakra'
1182 ## The URL segments where `:navigate increment/decrement` will search for
1190 # c.url.incdec_segments = ['path', 'query']
1192 ## Definitions of search engines which can be used via the address bar.
1193 ## Maps a searchengine name (such as `DEFAULT`, or `ddg`) to a URL with a
1194 ## `{}` placeholder. The placeholder will be replaced by the search term,
1195 ## use `{{` and `}}` for literal `{`/`}` signs. The searchengine named
1196 ## `DEFAULT` is used when `url.auto_search` is turned on and something
1197 ## else than a URL was entered to be opened. Other search engines can be
1198 ## used by prepending the search engine name to the search term, e.g.
1199 ## `:open google qutebrowser`.
1201 c
.url
.searchengines
= {'DEFAULT': 'https://duckduckgo.com/?t=chakra&q={}
',
1202 'ddg
': 'https
://duckduckgo
.com
/?t
=chakra
&q
={}',
1203 'slack
': 'https
://ultrahaptics
.slack
.com
/messages
/{}',
1204 'pcl
': 'http
://docs
.pointclouds
.org
/trunk
/search
.php?query
={}',
1205 'std
': 'http
://en
.cppreference
.com
/mwiki
/index
.php?title
=Special
%3ASearch
&search
={}',
1206 'cv
': 'http
://docs
.opencv
.org
/3.1.0/index
.html
#gsc.tab=0&gsc.ref=more%3A3.1&gsc.q={}' }
1208 ## The page(s) to open at the start.
1209 ## Type: List of FuzzyUrl, or FuzzyUrl
1210 # c.url.start_pages = 'https://start.duckduckgo.com'
1212 ## The URL parameters to strip with `:yank url`.
1213 ## Type: List of String
1214 # c.url.yank_ignored_parameters = ['ref', 'utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content']
1216 ## Hide the window decoration when using wayland (requires restart)
1218 # c.window.hide_wayland_decoration = False
1220 ## The format to use for the window title. The following placeholders are
1221 ## defined: * `{perc}`: The percentage as a string like `[10%]`. *
1222 ## `{perc_raw}`: The raw percentage, e.g. `10` * `{title}`: The title of
1223 ## the current web page * `{title_sep}`: The string ` - ` if a title is
1224 ## set, empty otherwise. * `{id}`: The internal window ID of this window.
1225 ## * `{scroll_pos}`: The page scroll position. * `{host}`: The host of
1226 ## the current web page. * `{backend}`: Either ''webkit'' or
1227 ## ''webengine'' * `{private}` : Indicates when private mode is enabled.
1228 ## Type: FormatString
1229 # c.window.title_format = '{perc}{title}{title_sep}qutebrowser'
1231 ## The default zoom level.
1233 # c.zoom.default = '100%'
1235 ## The available zoom levels.
1236 ## Type: List of Perc
1237 # c.zoom.levels = ['25%', '33%', '50%', '67%', '75%', '90%', '100%', '110%', '125%', '150%', '175%', '200%', '250%', '300%', '400%', '500%']
1239 ## How much to divide the mouse wheel movements to translate them into
1242 # c.zoom.mouse_divider = 512
1244 ## Whether the zoom factor on a frame applies only to the text or to all
1247 # c.zoom.text_only = False
1249 ## Bindings for normal mode
1250 # config.bind("'", 'enter-mode jump_mark')
1251 # config.bind('+', 'zoom-in')
1252 # config.bind('-', 'zoom-out')
1253 # config.bind('.', 'repeat-command')
1254 # config.bind('/', 'set-cmd-text /')
1255 # config.bind(':', 'set-cmd-text :')
1256 # config.bind(';I', 'hint images tab')
1257 # config.bind(';O', 'hint links fill :open -t -r {hint-url}')
1258 # config.bind(';R', 'hint --rapid links window')
1259 # config.bind(';Y', 'hint links yank-primary')
1260 # config.bind(';b', 'hint all tab-bg')
1261 # config.bind(';d', 'hint links download')
1262 # config.bind(';f', 'hint all tab-fg')
1263 # config.bind(';h', 'hint all hover')
1264 # config.bind(';i', 'hint images')
1265 # config.bind(';o', 'hint links fill :open {hint-url}')
1266 # config.bind(';r', 'hint --rapid links tab-bg')
1267 # config.bind(';t', 'hint inputs')
1268 # config.bind(';y', 'hint links yank')
1269 config
.bind('M', 'hint links spawn mpv {hint-url}')
1270 # config.bind('<Alt-1>', 'tab-focus 1')
1271 # config.bind('<Alt-2>', 'tab-focus 2')
1272 # config.bind('<Alt-3>', 'tab-focus 3')
1273 # config.bind('<Alt-4>', 'tab-focus 4')
1274 # config.bind('<Alt-5>', 'tab-focus 5')
1275 # config.bind('<Alt-6>', 'tab-focus 6')
1276 # config.bind('<Alt-7>', 'tab-focus 7')
1277 # config.bind('<Alt-8>', 'tab-focus 8')
1278 # config.bind('<Alt-9>', 'tab-focus -1')
1279 # config.bind('<Ctrl-A>', 'navigate increment')
1280 # config.bind('<Ctrl-Alt-p>', 'print')
1281 # config.bind('<Ctrl-B>', 'scroll-page 0 -1')
1282 # config.bind('<Ctrl-D>', 'scroll-page 0 0.5')
1283 # config.bind('<Ctrl-F5>', 'reload -f')
1284 # config.bind('<Ctrl-F>', 'scroll-page 0 1')
1285 # config.bind('<Ctrl-N>', 'open -w')
1286 # config.bind('<Ctrl-PgDown>', 'tab-next')
1287 # config.bind('<Ctrl-PgUp>', 'tab-prev')
1288 # config.bind('<Ctrl-Q>', 'quit')
1289 # config.bind('<Ctrl-Return>', 'follow-selected -t')
1290 # config.bind('<Ctrl-Shift-N>', 'open -p')
1291 # config.bind('<Ctrl-Shift-T>', 'undo')
1292 # config.bind('<Ctrl-Shift-W>', 'close')
1293 # config.bind('<Ctrl-T>', 'open -t')
1294 # config.bind('<Ctrl-Tab>', 'tab-focus last')
1295 # config.bind('<Ctrl-U>', 'scroll-page 0 -0.5')
1296 # config.bind('<Ctrl-V>', 'enter-mode passthrough')
1297 # config.bind('<Ctrl-W>', 'tab-close')
1298 # config.bind('<Ctrl-X>', 'navigate decrement')
1299 # config.bind('<Ctrl-^>', 'tab-focus last')
1300 # config.bind('<Ctrl-h>', 'home')
1301 # config.bind('<Ctrl-p>', 'tab-pin')
1302 # config.bind('<Ctrl-s>', 'stop')
1303 config
.bind('<Escape>', 'clear-keychain ;; search ;; fullscreen --leave ;; fake-key <Escape>')
1304 # config.bind('<F11>', 'fullscreen')
1305 # config.bind('<F5>', 'reload')
1306 # config.bind('<Return>', 'follow-selected')
1307 # config.bind('<back>', 'back')
1308 # config.bind('<forward>', 'forward')
1309 # config.bind('=', 'zoom')
1310 # config.bind('?', 'set-cmd-text ?')
1311 # config.bind('@', 'run-macro')
1312 # config.bind('B', 'set-cmd-text -s :quickmark-load -t')
1313 # config.bind('D', 'tab-close -o')
1314 # config.bind('F', 'hint all tab')
1315 # config.bind('G', 'scroll-to-perc')
1316 # config.bind('H', 'back')
1317 config
.bind('K', 'tab-next')
1318 config
.bind('J', 'tab-prev')
1319 # config.bind('L', 'forward')
1320 # config.bind('M', 'bookmark-add')
1321 # config.bind('N', 'search-prev')
1322 # config.bind('O', 'set-cmd-text -s :open -t')
1323 # config.bind('PP', 'open -t -- {primary}')
1324 # config.bind('Pp', 'open -t -- {clipboard}')
1325 # config.bind('R', 'reload -f')
1326 # config.bind('Ss', 'open qute://settings')
1327 # config.bind('T', 'tab-focus')
1328 # config.bind('ZQ', 'quit')
1329 # config.bind('ZZ', 'quit --save')
1330 # config.bind('[[', 'navigate prev')
1331 # config.bind(']]', 'navigate next')
1332 # config.bind('`', 'enter-mode set_mark')
1333 # config.bind('ad', 'download-cancel')
1334 # config.bind('b', 'set-cmd-text -s :quickmark-load')
1335 # config.bind('cd', 'download-clear')
1337 # config.bind('d', 'tab-close')
1338 # config.bind('f', 'hint')
1339 # config.bind('g$', 'tab-focus -1')
1340 # config.bind('g0', 'tab-focus 1')
1341 # config.bind('gB', 'set-cmd-text -s :bookmark-load -t')
1342 # config.bind('gC', 'tab-clone')
1343 # config.bind('gO', 'set-cmd-text :open -t -r {url:pretty}')
1344 # config.bind('gU', 'navigate up -t')
1345 # config.bind('g^', 'tab-focus 1')
1346 # config.bind('ga', 'open -t')
1347 # config.bind('gb', 'set-cmd-text -s :bookmark-load')
1348 # config.bind('gd', 'download')
1349 # config.bind('gf', 'view-source')
1350 # config.bind('gg', 'scroll-to-perc 0')
1351 # config.bind('gl', 'tab-move -')
1352 # config.bind('gm', 'tab-move')
1353 # config.bind('go', 'set-cmd-text :open {url:pretty}')
1354 # config.bind('gr', 'tab-move +')
1355 # config.bind('gt', 'set-cmd-text -s :buffer')
1356 # config.bind('gu', 'navigate up')
1357 # config.bind('h', 'scroll left')
1358 # config.bind('i', 'enter-mode insert')
1359 # config.bind('j', 'scroll down')
1360 # config.bind('k', 'scroll up')
1361 # config.bind('l', 'scroll right')
1362 # config.bind('m', 'quickmark-save')
1363 config
.bind('m', 'spawn mpv {url}')
1364 # config.bind('n', 'search-next')
1365 # config.bind('o', 'set-cmd-text -s :open')
1366 # config.bind('pP', 'open -- {primary}')
1367 # config.bind('pp', 'open -- {clipboard}')
1368 # config.bind('q', 'record-macro')
1369 # config.bind('r', 'reload')
1370 # config.bind('sf', 'save')
1371 # config.bind('sk', 'set-cmd-text -s :bind')
1372 # config.bind('sl', 'set-cmd-text -s :set -t')
1373 # config.bind('ss', 'set-cmd-text -s :set')
1374 # config.bind('th', 'back -t')
1375 # config.bind('tl', 'forward -t')
1376 # config.bind('u', 'undo')
1377 # config.bind('v', 'enter-mode caret')
1378 # config.bind('wB', 'set-cmd-text -s :bookmark-load -w')
1379 # config.bind('wO', 'set-cmd-text :open -w {url:pretty}')
1380 # config.bind('wP', 'open -w -- {primary}')
1381 # config.bind('wb', 'set-cmd-text -s :quickmark-load -w')
1382 # config.bind('wf', 'hint all window')
1383 # config.bind('wh', 'back -w')
1384 # config.bind('wi', 'inspector')
1385 # config.bind('wl', 'forward -w')
1386 # config.bind('wo', 'set-cmd-text -s :open -w')
1387 # config.bind('wp', 'open -w -- {clipboard}')
1388 # config.bind('xO', 'set-cmd-text :open -b -r {url:pretty}')
1389 # config.bind('xo', 'set-cmd-text -s :open -b')
1390 # config.bind('yD', 'yank domain -s')
1391 # config.bind('yP', 'yank pretty-url -s')
1392 # config.bind('yT', 'yank title -s')
1393 # config.bind('yY', 'yank -s')
1394 # config.bind('yd', 'yank domain')
1395 # config.bind('yp', 'yank pretty-url')
1396 # config.bind('yt', 'yank title')
1397 # config.bind('yy', 'yank')
1398 # config.bind('{{', 'navigate prev -t')
1399 # config.bind('}}', 'navigate next -t')
1401 ## Bindings for caret mode
1402 # config.bind('$', 'move-to-end-of-line', mode='caret')
1403 # config.bind('0', 'move-to-start-of-line', mode='caret')
1404 # config.bind('<Ctrl-Space>', 'drop-selection', mode='caret')
1405 # config.bind('<Escape>', 'leave-mode', mode='caret')
1406 # config.bind('<Return>', 'yank selection', mode='caret')
1407 # config.bind('<Space>', 'toggle-selection', mode='caret')
1408 # config.bind('G', 'move-to-end-of-document', mode='caret')
1409 # config.bind('H', 'scroll left', mode='caret')
1410 # config.bind('J', 'scroll down', mode='caret')
1411 # config.bind('K', 'scroll up', mode='caret')
1412 # config.bind('L', 'scroll right', mode='caret')
1413 # config.bind('Y', 'yank selection -s', mode='caret')
1414 # config.bind('[', 'move-to-start-of-prev-block', mode='caret')
1415 # config.bind(']', 'move-to-start-of-next-block', mode='caret')
1416 # config.bind('b', 'move-to-prev-word', mode='caret')
1417 # config.bind('c', 'enter-mode normal', mode='caret')
1418 # config.bind('e', 'move-to-end-of-word', mode='caret')
1419 # config.bind('gg', 'move-to-start-of-document', mode='caret')
1420 # config.bind('h', 'move-to-prev-char', mode='caret')
1421 # config.bind('j', 'move-to-next-line', mode='caret')
1422 # config.bind('k', 'move-to-prev-line', mode='caret')
1423 # config.bind('l', 'move-to-next-char', mode='caret')
1424 # config.bind('v', 'toggle-selection', mode='caret')
1425 # config.bind('w', 'move-to-next-word', mode='caret')
1426 # config.bind('y', 'yank selection', mode='caret')
1427 # config.bind('{', 'move-to-end-of-prev-block', mode='caret')
1428 # config.bind('}', 'move-to-end-of-next-block', mode='caret')
1430 ## Bindings for command mode
1431 # config.bind('<Alt-B>', 'rl-backward-word', mode='command')
1432 # config.bind('<Alt-Backspace>', 'rl-backward-kill-word', mode='command')
1433 # config.bind('<Alt-D>', 'rl-kill-word', mode='command')
1434 # config.bind('<Alt-F>', 'rl-forward-word', mode='command')
1435 # config.bind('<Ctrl-?>', 'rl-delete-char', mode='command')
1436 # config.bind('<Ctrl-A>', 'rl-beginning-of-line', mode='command')
1437 # config.bind('<Ctrl-B>', 'rl-backward-char', mode='command')
1438 # config.bind('<Ctrl-D>', 'completion-item-del', mode='command')
1439 # config.bind('<Ctrl-E>', 'rl-end-of-line', mode='command')
1440 # config.bind('<Ctrl-F>', 'rl-forward-char', mode='command')
1441 # config.bind('<Ctrl-H>', 'rl-backward-delete-char', mode='command')
1442 # config.bind('<Ctrl-K>', 'rl-kill-line', mode='command')
1443 # config.bind('<Ctrl-N>', 'command-history-next', mode='command')
1444 # config.bind('<Ctrl-P>', 'command-history-prev', mode='command')
1445 # config.bind('<Ctrl-Shift-Tab>', 'completion-item-focus prev-category', mode='command')
1446 # config.bind('<Ctrl-Tab>', 'completion-item-focus next-category', mode='command')
1447 # config.bind('<Ctrl-U>', 'rl-unix-line-discard', mode='command')
1448 # config.bind('<Ctrl-W>', 'rl-unix-word-rubout', mode='command')
1449 # config.bind('<Ctrl-Y>', 'rl-yank', mode='command')
1450 # config.bind('<Down>', 'command-history-next', mode='command')
1451 # config.bind('<Escape>', 'leave-mode', mode='command')
1452 # config.bind('<Return>', 'command-accept', mode='command')
1453 # config.bind('<Shift-Delete>', 'completion-item-del', mode='command')
1454 # config.bind('<Shift-Tab>', 'completion-item-focus prev', mode='command')
1455 # config.bind('<Tab>', 'completion-item-focus next', mode='command')
1456 # config.bind('<Up>', 'command-history-prev', mode='command')
1458 ## Bindings for hint mode
1459 # config.bind('<Ctrl-B>', 'hint all tab-bg', mode='hint')
1460 # config.bind('<Ctrl-F>', 'hint links', mode='hint')
1461 # config.bind('<Ctrl-R>', 'hint --rapid links tab-bg', mode='hint')
1462 # config.bind('<Escape>', 'leave-mode', mode='hint')
1463 # config.bind('<Return>', 'follow-hint', mode='hint')
1465 ## Bindings for insert mode
1466 # config.bind('<Ctrl-E>', 'open-editor', mode='insert')
1467 # config.bind('<Escape>', 'leave-mode', mode='insert')
1468 # config.bind('<Shift-Ins>', 'insert-text {primary}', mode='insert')
1470 ## Bindings for passthrough mode
1471 # config.bind('<Ctrl-V>', 'leave-mode', mode='passthrough')
1473 ## Bindings for prompt mode
1474 # config.bind('<Alt-B>', 'rl-backward-word', mode='prompt')
1475 # config.bind('<Alt-Backspace>', 'rl-backward-kill-word', mode='prompt')
1476 # config.bind('<Alt-D>', 'rl-kill-word', mode='prompt')
1477 # config.bind('<Alt-F>', 'rl-forward-word', mode='prompt')
1478 # config.bind('<Ctrl-?>', 'rl-delete-char', mode='prompt')
1479 # config.bind('<Ctrl-A>', 'rl-beginning-of-line', mode='prompt')
1480 # config.bind('<Ctrl-B>', 'rl-backward-char', mode='prompt')
1481 # config.bind('<Ctrl-E>', 'rl-end-of-line', mode='prompt')
1482 # config.bind('<Ctrl-F>', 'rl-forward-char', mode='prompt')
1483 # config.bind('<Ctrl-H>', 'rl-backward-delete-char', mode='prompt')
1484 # config.bind('<Ctrl-K>', 'rl-kill-line', mode='prompt')
1485 # config.bind('<Ctrl-U>', 'rl-unix-line-discard', mode='prompt')
1486 # config.bind('<Ctrl-W>', 'rl-unix-word-rubout', mode='prompt')
1487 # config.bind('<Ctrl-X>', 'prompt-open-download', mode='prompt')
1488 # config.bind('<Ctrl-Y>', 'rl-yank', mode='prompt')
1489 # config.bind('<Down>', 'prompt-item-focus next', mode='prompt')
1490 # config.bind('<Escape>', 'leave-mode', mode='prompt')
1491 # config.bind('<Return>', 'prompt-accept', mode='prompt')
1492 # config.bind('<Shift-Tab>', 'prompt-item-focus prev', mode='prompt')
1493 # config.bind('<Tab>', 'prompt-item-focus next', mode='prompt')
1494 # config.bind('<Up>', 'prompt-item-focus prev', mode='prompt')
1495 # config.bind('n', 'prompt-accept no', mode='prompt')
1496 # config.bind('y', 'prompt-accept yes', mode='prompt')
1498 ## Bindings for register mode
1499 # config.bind('<Escape>', 'leave-mode', mode='register')