]> git.rmz.io Git - dotfiles.git/blob - qutebrowser/config.py
abb63f3d4d5c5b7a055c91ecd40ed06b7a3c9163
[dotfiles.git] / qutebrowser / config.py
1 ## Autogenerated config.py
2 ## Documentation:
3 ## qute://help/configuring.html
4 ## qute://help/settings.html
5
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()
9
10 ## Aliases for commands. The keys of the given dictionary are the
11 ## aliases, while the values are the commands they map to.
12 ## Type: Dict
13 c.aliases = {'w': 'session-save',
14 'quit': 'close',
15 'q': 'close',
16 'wq': 'quit --save',
17 'mpv': 'spawn --userscript ~/src/qutebrowser/misc/userscripts/view_in_mpv'
18 }
19
20 ## Time interval (in milliseconds) between auto-saves of
21 ## config/cookies/etc.
22 ## Type: Int
23 # c.auto_save.interval = 15000
24
25 ## Always restore open sites when qutebrowser is reopened.
26 ## Type: Bool
27 c.auto_save.session = True
28
29 ## Backend to use to display websites. qutebrowser supports two different
30 ## web rendering engines / backends, QtWebKit and QtWebEngine. QtWebKit
31 ## was discontinued by the Qt project with Qt 5.6, but picked up as a
32 ## well maintained fork: https://github.com/annulen/webkit/wiki -
33 ## qutebrowser only supports the fork. QtWebEngine is Qt's official
34 ## successor to QtWebKit. It's slightly more resource hungry than
35 ## QtWebKit and has a couple of missing features in qutebrowser, but is
36 ## generally the preferred choice.
37 ## Type: String
38 ## Valid values:
39 ## - webengine: Use QtWebEngine (based on Chromium).
40 ## - webkit: Use QtWebKit (based on WebKit, similar to Safari).
41 # c.backend = 'webengine'
42
43 ## This setting can be used to map keys to other keys. When the key used
44 ## as dictionary-key is pressed, the binding for the key used as
45 ## dictionary-value is invoked instead. This is useful for global
46 ## remappings of keys, for example to map Ctrl-[ to Escape. Note that
47 ## when a key is bound (via `bindings.default` or `bindings.commands`),
48 ## the mapping is ignored.
49 ## Type: Dict
50 # 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>'}
51
52 ## Background color of the completion widget category headers.
53 ## Type: QssColor
54 # c.colors.completion.category.bg = 'qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #888888, stop:1 #505050)'
55
56 ## Bottom border color of the completion widget category headers.
57 ## Type: QssColor
58 # c.colors.completion.category.border.bottom = 'black'
59
60 ## Top border color of the completion widget category headers.
61 ## Type: QssColor
62 # c.colors.completion.category.border.top = 'black'
63
64 ## Foreground color of completion widget category headers.
65 ## Type: QtColor
66 # c.colors.completion.category.fg = 'white'
67
68 ## Background color of the completion widget for even rows.
69 ## Type: QssColor
70 # c.colors.completion.even.bg = '#333333'
71
72 ## Text color of the completion widget. May be a single color to use for
73 ## all columns or a list of three colors, one for each column.
74 ## Type: List of QtColor, or QtColor
75 # c.colors.completion.fg = ['white', 'white', 'white']
76
77 ## Background color of the selected completion item.
78 ## Type: QssColor
79 # c.colors.completion.item.selected.bg = '#e8c000'
80
81 ## Bottom border color of the selected completion item.
82 ## Type: QssColor
83 # c.colors.completion.item.selected.border.bottom = '#bbbb00'
84
85 ## Top border color of the selected completion item.
86 ## Type: QssColor
87 # c.colors.completion.item.selected.border.top = '#bbbb00'
88
89 ## Foreground color of the selected completion item.
90 ## Type: QtColor
91 # c.colors.completion.item.selected.fg = 'black'
92
93 ## Foreground color of the matched text in the selected completion item.
94 ## Type: QtColor
95 # c.colors.completion.item.selected.match.fg = '#ff4444'
96
97 ## Foreground color of the matched text in the completion.
98 ## Type: QtColor
99 # c.colors.completion.match.fg = '#ff4444'
100
101 ## Background color of the completion widget for odd rows.
102 ## Type: QssColor
103 # c.colors.completion.odd.bg = '#444444'
104
105 ## Color of the scrollbar in the completion view.
106 ## Type: QssColor
107 # c.colors.completion.scrollbar.bg = '#333333'
108
109 ## Color of the scrollbar handle in the completion view.
110 ## Type: QssColor
111 # c.colors.completion.scrollbar.fg = 'white'
112
113 ## Background color of the context menu. If set to null, the Qt default
114 ## is used.
115 ## Type: QssColor
116 # c.colors.contextmenu.bg = None
117
118 ## Foreground color of the context menu. If set to null, the Qt default
119 ## is used.
120 ## Type: QssColor
121 # c.colors.contextmenu.fg = None
122
123 ## Background color for the download bar.
124 ## Type: QssColor
125 # c.colors.downloads.bar.bg = 'black'
126
127 ## Background color for downloads with errors.
128 ## Type: QtColor
129 # c.colors.downloads.error.bg = 'red'
130
131 ## Foreground color for downloads with errors.
132 ## Type: QtColor
133 # c.colors.downloads.error.fg = 'white'
134
135 ## Color gradient start for download backgrounds.
136 ## Type: QtColor
137 # c.colors.downloads.start.bg = '#0000aa'
138
139 ## Color gradient start for download text.
140 ## Type: QtColor
141 # c.colors.downloads.start.fg = 'white'
142
143 ## Color gradient stop for download backgrounds.
144 ## Type: QtColor
145 # c.colors.downloads.stop.bg = '#00aa00'
146
147 ## Color gradient end for download text.
148 ## Type: QtColor
149 # c.colors.downloads.stop.fg = 'white'
150
151 ## Color gradient interpolation system for download backgrounds.
152 ## Type: ColorSystem
153 ## Valid values:
154 ## - rgb: Interpolate in the RGB color system.
155 ## - hsv: Interpolate in the HSV color system.
156 ## - hsl: Interpolate in the HSL color system.
157 ## - none: Don't show a gradient.
158 # c.colors.downloads.system.bg = 'rgb'
159
160 ## Color gradient interpolation system for download text.
161 ## Type: ColorSystem
162 ## Valid values:
163 ## - rgb: Interpolate in the RGB color system.
164 ## - hsv: Interpolate in the HSV color system.
165 ## - hsl: Interpolate in the HSL color system.
166 ## - none: Don't show a gradient.
167 # c.colors.downloads.system.fg = 'rgb'
168
169 ## Background color for hints. Note that you can use a `rgba(...)` value
170 ## for transparency.
171 ## Type: QssColor
172 # 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))'
173
174 ## Font color for hints.
175 ## Type: QssColor
176 # c.colors.hints.fg = 'black'
177
178 ## Font color for the matched part of hints.
179 ## Type: QtColor
180 # c.colors.hints.match.fg = 'green'
181
182 ## Background color of the keyhint widget.
183 ## Type: QssColor
184 # c.colors.keyhint.bg = 'rgba(0, 0, 0, 80%)'
185
186 ## Text color for the keyhint widget.
187 ## Type: QssColor
188 # c.colors.keyhint.fg = '#FFFFFF'
189
190 ## Highlight color for keys to complete the current keychain.
191 ## Type: QssColor
192 # c.colors.keyhint.suffix.fg = '#FFFF00'
193
194 ## Background color of an error message.
195 ## Type: QssColor
196 # c.colors.messages.error.bg = 'red'
197
198 ## Border color of an error message.
199 ## Type: QssColor
200 # c.colors.messages.error.border = '#bb0000'
201
202 ## Foreground color of an error message.
203 ## Type: QssColor
204 # c.colors.messages.error.fg = 'white'
205
206 ## Background color of an info message.
207 ## Type: QssColor
208 # c.colors.messages.info.bg = 'black'
209
210 ## Border color of an info message.
211 ## Type: QssColor
212 # c.colors.messages.info.border = '#333333'
213
214 ## Foreground color of an info message.
215 ## Type: QssColor
216 # c.colors.messages.info.fg = 'white'
217
218 ## Background color of a warning message.
219 ## Type: QssColor
220 # c.colors.messages.warning.bg = 'darkorange'
221
222 ## Border color of a warning message.
223 ## Type: QssColor
224 # c.colors.messages.warning.border = '#d47300'
225
226 ## Foreground color of a warning message.
227 ## Type: QssColor
228 # c.colors.messages.warning.fg = 'white'
229
230 ## Background color for prompts.
231 ## Type: QssColor
232 c.colors.prompts.bg = '#333333'
233
234 ## Border used around UI elements in prompts.
235 ## Type: String
236 # c.colors.prompts.border = '1px solid gray'
237
238 ## Foreground color for prompts.
239 ## Type: QssColor
240 # c.colors.prompts.fg = 'white'
241
242 ## Background color for the selected item in filename prompts.
243 ## Type: QssColor
244 # c.colors.prompts.selected.bg = 'grey'
245
246 ## Background color of the statusbar in caret mode.
247 ## Type: QssColor
248 # c.colors.statusbar.caret.bg = 'purple'
249
250 ## Foreground color of the statusbar in caret mode.
251 ## Type: QssColor
252 # c.colors.statusbar.caret.fg = 'white'
253
254 ## Background color of the statusbar in caret mode with a selection.
255 ## Type: QssColor
256 # c.colors.statusbar.caret.selection.bg = '#a12dff'
257
258 ## Foreground color of the statusbar in caret mode with a selection.
259 ## Type: QssColor
260 # c.colors.statusbar.caret.selection.fg = 'white'
261
262 ## Background color of the statusbar in command mode.
263 ## Type: QssColor
264 # c.colors.statusbar.command.bg = 'black'
265
266 ## Foreground color of the statusbar in command mode.
267 ## Type: QssColor
268 # c.colors.statusbar.command.fg = 'white'
269
270 ## Background color of the statusbar in private browsing + command mode.
271 ## Type: QssColor
272 # c.colors.statusbar.command.private.bg = 'grey'
273
274 ## Foreground color of the statusbar in private browsing + command mode.
275 ## Type: QssColor
276 # c.colors.statusbar.command.private.fg = 'white'
277
278 ## Background color of the statusbar in insert mode.
279 ## Type: QssColor
280 # c.colors.statusbar.insert.bg = 'darkgreen'
281
282 ## Foreground color of the statusbar in insert mode.
283 ## Type: QssColor
284 # c.colors.statusbar.insert.fg = 'white'
285
286 ## Background color of the statusbar.
287 ## Type: QssColor
288 # c.colors.statusbar.normal.bg = 'black'
289
290 ## Foreground color of the statusbar.
291 ## Type: QssColor
292 # c.colors.statusbar.normal.fg = 'white'
293
294 ## Background color of the statusbar in passthrough mode.
295 ## Type: QssColor
296 # c.colors.statusbar.passthrough.bg = 'darkblue'
297
298 ## Foreground color of the statusbar in passthrough mode.
299 ## Type: QssColor
300 # c.colors.statusbar.passthrough.fg = 'white'
301
302 ## Background color of the statusbar in private browsing mode.
303 ## Type: QssColor
304 # c.colors.statusbar.private.bg = '#666666'
305
306 ## Foreground color of the statusbar in private browsing mode.
307 ## Type: QssColor
308 # c.colors.statusbar.private.fg = 'white'
309
310 ## Background color of the progress bar.
311 ## Type: QssColor
312 # c.colors.statusbar.progress.bg = 'white'
313
314 ## Foreground color of the URL in the statusbar on error.
315 ## Type: QssColor
316 # c.colors.statusbar.url.error.fg = 'orange'
317
318 ## Default foreground color of the URL in the statusbar.
319 ## Type: QssColor
320 # c.colors.statusbar.url.fg = 'white'
321
322 ## Foreground color of the URL in the statusbar for hovered links.
323 ## Type: QssColor
324 # c.colors.statusbar.url.hover.fg = 'aqua'
325
326 ## Foreground color of the URL in the statusbar on successful load
327 ## (http).
328 ## Type: QssColor
329 # c.colors.statusbar.url.success.http.fg = 'white'
330
331 ## Foreground color of the URL in the statusbar on successful load
332 ## (https).
333 ## Type: QssColor
334 # c.colors.statusbar.url.success.https.fg = 'lime'
335
336 ## Foreground color of the URL in the statusbar when there's a warning.
337 ## Type: QssColor
338 # c.colors.statusbar.url.warn.fg = 'yellow'
339
340 ## Background color of the tab bar.
341 ## Type: QssColor
342 # c.colors.tabs.bar.bg = '#555555'
343
344 ## Background color of unselected even tabs.
345 ## Type: QtColor
346 # c.colors.tabs.even.bg = 'darkgrey'
347
348 ## Foreground color of unselected even tabs.
349 ## Type: QtColor
350 # c.colors.tabs.even.fg = 'white'
351
352 ## Color for the tab indicator on errors.
353 ## Type: QtColor
354 # c.colors.tabs.indicator.error = '#ff0000'
355
356 ## Color gradient start for the tab indicator.
357 ## Type: QtColor
358 # c.colors.tabs.indicator.start = '#0000aa'
359
360 ## Color gradient end for the tab indicator.
361 ## Type: QtColor
362 # c.colors.tabs.indicator.stop = '#00aa00'
363
364 ## Color gradient interpolation system for the tab indicator.
365 ## Type: ColorSystem
366 ## Valid values:
367 ## - rgb: Interpolate in the RGB color system.
368 ## - hsv: Interpolate in the HSV color system.
369 ## - hsl: Interpolate in the HSL color system.
370 ## - none: Don't show a gradient.
371 # c.colors.tabs.indicator.system = 'rgb'
372
373 ## Background color of unselected odd tabs.
374 ## Type: QtColor
375 # c.colors.tabs.odd.bg = 'grey'
376
377 ## Foreground color of unselected odd tabs.
378 ## Type: QtColor
379 # c.colors.tabs.odd.fg = 'white'
380
381 ## Background color of pinned unselected even tabs.
382 ## Type: QtColor
383 # c.colors.tabs.pinned.even.bg = 'darkseagreen'
384
385 ## Foreground color of pinned unselected even tabs.
386 ## Type: QtColor
387 # c.colors.tabs.pinned.even.fg = 'white'
388
389 ## Background color of pinned unselected odd tabs.
390 ## Type: QtColor
391 # c.colors.tabs.pinned.odd.bg = 'seagreen'
392
393 ## Foreground color of pinned unselected odd tabs.
394 ## Type: QtColor
395 # c.colors.tabs.pinned.odd.fg = 'white'
396
397 ## Background color of pinned selected even tabs.
398 ## Type: QtColor
399 # c.colors.tabs.pinned.selected.even.bg = 'black'
400
401 ## Foreground color of pinned selected even tabs.
402 ## Type: QtColor
403 # c.colors.tabs.pinned.selected.even.fg = 'white'
404
405 ## Background color of pinned selected odd tabs.
406 ## Type: QtColor
407 # c.colors.tabs.pinned.selected.odd.bg = 'black'
408
409 ## Foreground color of pinned selected odd tabs.
410 ## Type: QtColor
411 # c.colors.tabs.pinned.selected.odd.fg = 'white'
412
413 ## Background color of selected even tabs.
414 ## Type: QtColor
415 # c.colors.tabs.selected.even.bg = 'black'
416
417 ## Foreground color of selected even tabs.
418 ## Type: QtColor
419 # c.colors.tabs.selected.even.fg = 'white'
420
421 ## Background color of selected odd tabs.
422 ## Type: QtColor
423 # c.colors.tabs.selected.odd.bg = 'black'
424
425 ## Foreground color of selected odd tabs.
426 ## Type: QtColor
427 # c.colors.tabs.selected.odd.fg = 'white'
428
429 ## Background color for webpages if unset (or empty to use the theme's
430 ## color).
431 ## Type: QtColor
432 # c.colors.webpage.bg = 'white'
433
434 ## Number of commands to save in the command history. 0: no history / -1:
435 ## unlimited
436 ## Type: Int
437 # c.completion.cmd_history_max_items = 100
438
439 ## Delay (in milliseconds) before updating completions after typing a
440 ## character.
441 ## Type: Int
442 # c.completion.delay = 0
443
444 ## Height (in pixels or as percentage of the window) of the completion.
445 ## Type: PercOrInt
446 c.completion.height = 150
447
448 ## Minimum amount of characters needed to update completions.
449 ## Type: Int
450 # c.completion.min_chars = 1
451
452 ## Which categories to show (in which order) in the :open completion.
453 ## Type: FlagList
454 ## Valid values:
455 ## - searchengines
456 ## - quickmarks
457 ## - bookmarks
458 ## - history
459 # c.completion.open_categories = ['searchengines', 'quickmarks', 'bookmarks', 'history']
460
461 ## Move on to the next part when there's only one possible completion
462 ## left.
463 ## Type: Bool
464 c.completion.quick = False
465
466 ## Padding (in pixels) of the scrollbar handle in the completion window.
467 ## Type: Int
468 # c.completion.scrollbar.padding = 2
469
470 ## Width (in pixels) of the scrollbar in the completion window.
471 ## Type: Int
472 # c.completion.scrollbar.width = 12
473
474 ## When to show the autocompletion window.
475 ## Type: String
476 ## Valid values:
477 ## - always: Whenever a completion is available.
478 ## - auto: Whenever a completion is requested.
479 ## - never: Never.
480 # c.completion.show = 'always'
481
482 ## Shrink the completion to be smaller than the configured size if there
483 ## are no scrollbars.
484 ## Type: Bool
485 c.completion.shrink = True
486
487 ## Format of timestamps (e.g. for the history completion). See
488 ## https://sqlite.org/lang_datefunc.html for allowed substitutions.
489 ## Type: String
490 # c.completion.timestamp_format = '%Y-%m-%d'
491
492 ## Execute the best-matching command on a partial match.
493 ## Type: Bool
494 # c.completion.use_best_match = False
495
496 ## A list of patterns which should not be shown in the history. This only
497 ## affects the completion. Matching URLs are still saved in the history
498 ## (and visible on the qute://history page), but hidden in the
499 ## completion. Changing this setting will cause the completion history to
500 ## be regenerated on the next start, which will take a short while.
501 ## Type: List of UrlPattern
502 # c.completion.web_history.exclude = []
503
504 ## Number of URLs to show in the web history. 0: no history / -1:
505 ## unlimited
506 ## Type: Int
507 # c.completion.web_history.max_items = -1
508
509 ## Require a confirmation before quitting the application.
510 ## Type: ConfirmQuit
511 ## Valid values:
512 ## - always: Always show a confirmation.
513 ## - multiple-tabs: Show a confirmation if multiple tabs are opened.
514 ## - downloads: Show a confirmation if downloads are running
515 ## - never: Never show a confirmation.
516 c.confirm_quit = ['downloads']
517
518 ## Automatically start playing `<video>` elements. Note: On Qt < 5.11,
519 ## this option needs a restart and does not support URL patterns.
520 ## Type: Bool
521 # c.content.autoplay = True
522
523 ## Enable support for the HTML 5 web application cache feature. An
524 ## application cache acts like an HTTP cache in some sense. For documents
525 ## that use the application cache via JavaScript, the loader engine will
526 ## first ask the application cache for the contents, before hitting the
527 ## network.
528 ## Type: Bool
529 # c.content.cache.appcache = True
530
531 ## Maximum number of pages to hold in the global memory page cache. The
532 ## page cache allows for a nicer user experience when navigating forth or
533 ## back to pages in the forward/back history, by pausing and resuming up
534 ## to _n_ pages. For more information about the feature, please refer to:
535 ## http://webkit.org/blog/427/webkit-page-cache-i-the-basics/
536 ## Type: Int
537 # c.content.cache.maximum_pages = 0
538
539 ## Size (in bytes) of the HTTP network cache. Null to use the default
540 ## value. With QtWebEngine, the maximum supported value is 2147483647 (~2
541 ## GB).
542 ## Type: Int
543 # c.content.cache.size = None
544
545 ## Allow websites to read canvas elements. Note this is needed for some
546 ## websites to work properly.
547 ## Type: Bool
548 # c.content.canvas_reading = True
549
550 ## Which cookies to accept.
551 ## Type: String
552 ## Valid values:
553 ## - all: Accept all cookies.
554 ## - no-3rdparty: Accept cookies from the same origin only. This is known to break some sites, such as GMail.
555 ## - 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.
556 ## - never: Don't accept cookies at all.
557 # c.content.cookies.accept = 'no-3rdparty'
558
559 ## Store cookies. Note this option needs a restart with QtWebEngine on Qt
560 ## < 5.9.
561 ## Type: Bool
562 # c.content.cookies.store = True
563
564 ## Default encoding to use for websites. The encoding must be a string
565 ## describing an encoding such as _utf-8_, _iso-8859-1_, etc.
566 ## Type: String
567 # c.content.default_encoding = 'iso-8859-1'
568
569 ## Allow websites to share screen content. On Qt < 5.10, a dialog box is
570 ## always displayed, even if this is set to "true".
571 ## Type: BoolAsk
572 ## Valid values:
573 ## - true
574 ## - false
575 ## - ask
576 # c.content.desktop_capture = 'ask'
577
578 ## Try to pre-fetch DNS entries to speed up browsing.
579 ## Type: Bool
580 # c.content.dns_prefetch = True
581
582 ## Expand each subframe to its contents. This will flatten all the frames
583 ## to become one scrollable page.
584 ## Type: Bool
585 # c.content.frame_flattening = False
586
587 ## Allow websites to request geolocations.
588 ## Type: BoolAsk
589 ## Valid values:
590 ## - true
591 ## - false
592 ## - ask
593 # c.content.geolocation = 'ask'
594
595 ## Value to send in the `Accept-Language` header. Note that the value
596 ## read from JavaScript is always the global value.
597 ## Type: String
598 c.content.headers.accept_language = 'en-US,en,de,fr'
599
600 ## Custom headers for qutebrowser HTTP requests.
601 ## Type: Dict
602 # c.content.headers.custom = {}
603
604 ## Value to send in the `DNT` header. When this is set to true,
605 ## qutebrowser asks websites to not track your identity. If set to null,
606 ## the DNT header is not sent at all.
607 ## Type: Bool
608 # c.content.headers.do_not_track = True
609
610 ## When to send the Referer header. The Referer header tells websites
611 ## from which website you were coming from when visiting them. No restart
612 ## is needed with QtWebKit.
613 ## Type: String
614 ## Valid values:
615 ## - always: Always send the Referer.
616 ## - never: Never send the Referer. This is not recommended, as some sites may break.
617 ## - 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.
618 # c.content.headers.referer = 'same-domain'
619
620 ## User agent to send. The following placeholders are defined: *
621 ## `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`:
622 ## The underlying WebKit version (set to a fixed value with
623 ## QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for
624 ## QtWebEngine. * `{qt_version}`: The underlying Qt version. *
625 ## `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for
626 ## QtWebEngine. * `{upstream_browser_version}`: The corresponding
627 ## Safari/Chrome version. * `{qutebrowser_version}`: The currently
628 ## running qutebrowser version. The default value is equal to the
629 ## unchanged user agent of QtWebKit/QtWebEngine. Note that the value
630 ## read from JavaScript is always the global value.
631 ## Type: FormatString
632 # 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}'
633
634 ## Enable host blocking.
635 ## Type: Bool
636 # c.content.host_blocking.enabled = True
637
638 ## List of URLs of lists which contain hosts to block. The file can be
639 ## in one of the following formats: - An `/etc/hosts`-like file - One
640 ## host per line - A zip-file of any of the above, with either only one
641 ## file, or a file named `hosts` (with any extension). It's also
642 ## possible to add a local file or directory via a `file://` URL. In case
643 ## of a directory, all files in the directory are read as adblock lists.
644 ## The file `~/.config/qutebrowser/blocked-hosts` is always read if it
645 ## exists.
646 ## Type: List of Url
647 # c.content.host_blocking.lists = ['https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts']
648
649 ## A list of patterns that should always be loaded, despite being ad-
650 ## blocked. Note this whitelists blocked hosts, not first-party URLs. As
651 ## an example, if `example.org` loads an ad from `ads.example.org`, the
652 ## whitelisted host should be `ads.example.org`. If you want to disable
653 ## the adblocker on a given page, use the `content.host_blocking.enabled`
654 ## setting with a URL pattern instead. Local domains are always exempt
655 ## from hostblocking.
656 ## Type: List of UrlPattern
657 # c.content.host_blocking.whitelist = []
658
659 ## Enable hyperlink auditing (`<a ping>`).
660 ## Type: Bool
661 # c.content.hyperlink_auditing = False
662
663 ## Load images automatically in web pages.
664 ## Type: Bool
665 # c.content.images = True
666
667 ## Show javascript alerts.
668 ## Type: Bool
669 # c.content.javascript.alert = True
670
671 ## Allow JavaScript to read from or write to the clipboard. With
672 ## QtWebEngine, writing the clipboard as response to a user interaction
673 ## is always allowed.
674 ## Type: Bool
675 # c.content.javascript.can_access_clipboard = False
676
677 ## Allow JavaScript to close tabs.
678 ## Type: Bool
679 # c.content.javascript.can_close_tabs = False
680
681 ## Allow JavaScript to open new tabs without user interaction.
682 ## Type: Bool
683 # c.content.javascript.can_open_tabs_automatically = False
684
685 ## Enable JavaScript.
686 ## Type: Bool
687 # c.content.javascript.enabled = True
688
689 ## Log levels to use for JavaScript console logging messages. When a
690 ## JavaScript message with the level given in the dictionary key is
691 ## logged, the corresponding dictionary value selects the qutebrowser
692 ## logger to use. On QtWebKit, the "unknown" setting is always used. The
693 ## following levels are valid: `none`, `debug`, `info`, `warning`,
694 ## `error`.
695 ## Type: Dict
696 # c.content.javascript.log = {'unknown': 'debug', 'info': 'debug', 'warning': 'debug', 'error': 'debug'}
697
698 ## Use the standard JavaScript modal dialog for `alert()` and
699 ## `confirm()`.
700 ## Type: Bool
701 # c.content.javascript.modal_dialog = False
702
703 ## Show javascript prompts.
704 ## Type: Bool
705 # c.content.javascript.prompt = True
706
707 ## Allow locally loaded documents to access other local URLs.
708 ## Type: Bool
709 # c.content.local_content_can_access_file_urls = True
710
711 ## Allow locally loaded documents to access remote URLs.
712 ## Type: Bool
713 # c.content.local_content_can_access_remote_urls = False
714
715 ## Enable support for HTML 5 local storage and Web SQL.
716 ## Type: Bool
717 # c.content.local_storage = True
718
719 ## Allow websites to record audio/video.
720 ## Type: BoolAsk
721 ## Valid values:
722 ## - true
723 ## - false
724 ## - ask
725 # c.content.media_capture = 'ask'
726
727 ## Allow websites to lock your mouse pointer.
728 ## Type: BoolAsk
729 ## Valid values:
730 ## - true
731 ## - false
732 ## - ask
733 # c.content.mouse_lock = 'ask'
734
735 ## Automatically mute tabs. Note that if the `:tab-mute` command is used,
736 ## the mute status for the affected tab is now controlled manually, and
737 ## this setting doesn't have any effect.
738 ## Type: Bool
739 # c.content.mute = False
740
741 ## Netrc-file for HTTP authentication. If unset, `~/.netrc` is used.
742 ## Type: File
743 # c.content.netrc_file = None
744
745 ## Allow websites to show notifications.
746 ## Type: BoolAsk
747 ## Valid values:
748 ## - true
749 ## - false
750 ## - ask
751 # c.content.notifications = 'ask'
752
753 ## Allow pdf.js to view PDF files in the browser. Note that the files can
754 ## still be downloaded by clicking the download button in the pdf.js
755 ## viewer.
756 ## Type: Bool
757 # c.content.pdfjs = False
758
759 ## Allow websites to request persistent storage quota via
760 ## `navigator.webkitPersistentStorage.requestQuota`.
761 ## Type: BoolAsk
762 ## Valid values:
763 ## - true
764 ## - false
765 ## - ask
766 # c.content.persistent_storage = 'ask'
767
768 ## Enable plugins in Web pages.
769 ## Type: Bool
770 # c.content.plugins = False
771
772 ## Draw the background color and images also when the page is printed.
773 ## Type: Bool
774 # c.content.print_element_backgrounds = True
775
776 ## Open new windows in private browsing mode which does not record
777 ## visited pages.
778 ## Type: Bool
779 # c.content.private_browsing = False
780
781 ## Proxy to use. In addition to the listed values, you can use a
782 ## `socks://...` or `http://...` URL.
783 ## Type: Proxy
784 ## Valid values:
785 ## - system: Use the system wide proxy.
786 ## - none: Don't use any proxy
787 # c.content.proxy = 'system'
788
789 ## Send DNS requests over the configured proxy.
790 ## Type: Bool
791 # c.content.proxy_dns_requests = True
792
793 ## Allow websites to register protocol handlers via
794 ## `navigator.registerProtocolHandler`.
795 ## Type: BoolAsk
796 ## Valid values:
797 ## - true
798 ## - false
799 ## - ask
800 # c.content.register_protocol_handler = 'ask'
801
802 ## Enable quirks (such as faked user agent headers) needed to get
803 ## specific sites to work properly.
804 ## Type: Bool
805 # c.content.site_specific_quirks = True
806
807 ## Validate SSL handshakes.
808 ## Type: BoolAsk
809 ## Valid values:
810 ## - true
811 ## - false
812 ## - ask
813 # c.content.ssl_strict = 'ask'
814
815 ## List of user stylesheet filenames to use.
816 ## Type: List of File, or File
817 # c.content.user_stylesheets = []
818
819 ## Enable WebGL.
820 ## Type: Bool
821 # c.content.webgl = True
822
823 ## Which interfaces to expose via WebRTC. On Qt 5.10, this option doesn't
824 ## work because of a Qt bug.
825 ## Type: String
826 ## Valid values:
827 ## - all-interfaces: WebRTC has the right to enumerate all interfaces and bind them to discover public interfaces.
828 ## - 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.
829 ## - default-public-interface-only: WebRTC should only use the default route used by http. This doesn't expose any local addresses.
830 ## - 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.
831 # c.content.webrtc_ip_handling_policy = 'all-interfaces'
832
833 ## Limit fullscreen to the browser window (does not expand to fill the
834 ## screen).
835 ## Type: Bool
836 # c.content.windowed_fullscreen = False
837
838 ## Monitor load requests for cross-site scripting attempts. Suspicious
839 ## scripts will be blocked and reported in the inspector's JavaScript
840 ## console. Note that bypasses for the XSS auditor are widely known and
841 ## it can be abused for cross-site info leaks in some scenarios, see:
842 ## https://www.chromium.org/developers/design-documents/xss-auditor
843 ## Type: Bool
844 # c.content.xss_auditing = False
845
846 ## Directory to save downloads to. If unset, a sensible OS-specific
847 ## default is used.
848 ## Type: Directory
849 c.downloads.location.directory = "~/downloads"
850
851 ## Prompt the user for the download location. If set to false,
852 ## `downloads.location.directory` will be used.
853 ## Type: Bool
854 # c.downloads.location.prompt = True
855
856 ## Remember the last used download directory.
857 ## Type: Bool
858 # c.downloads.location.remember = True
859
860 ## What to display in the download filename input.
861 ## Type: String
862 ## Valid values:
863 ## - path: Show only the download path.
864 ## - filename: Show only download filename.
865 ## - both: Show download path and filename.
866 # c.downloads.location.suggestion = 'path'
867
868 ## Default program used to open downloads. If null, the default internal
869 ## handler is used. Any `{}` in the string will be expanded to the
870 ## filename, else the filename will be appended.
871 ## Type: String
872 c.downloads.open_dispatcher = "rifle"
873
874 ## Where to show the downloaded files.
875 ## Type: VerticalPosition
876 ## Valid values:
877 ## - top
878 ## - bottom
879 # c.downloads.position = 'top'
880
881 ## Duration (in milliseconds) to wait before removing finished downloads.
882 ## If set to -1, downloads are never removed.
883 ## Type: Int
884 # c.downloads.remove_finished = -1
885
886 ## Editor (and arguments) to use for the `open-editor` command. The
887 ## following placeholders are defined: * `{file}`: Filename of the file
888 ## to be edited. * `{line}`: Line in which the caret is found in the
889 ## text. * `{column}`: Column in which the caret is found in the text. *
890 ## `{line0}`: Same as `{line}`, but starting from index 0. * `{column0}`:
891 ## Same as `{column}`, but starting from index 0.
892 ## Type: ShellCommand
893 c.editor.command = ['urxvtc', '-e', 'vim', '{file}', '-c', 'normal {line}G{column0}l']
894
895 ## Encoding to use for the editor.
896 ## Type: Encoding
897 # c.editor.encoding = 'utf-8'
898
899 ## Font used in the completion categories.
900 ## Type: Font
901 # c.fonts.completion.category = 'bold 10pt monospace'
902
903 ## Font used in the completion widget.
904 ## Type: Font
905 # c.fonts.completion.entry = '10pt monospace'
906
907 ## Font used for the context menu. If set to null, the Qt default is
908 ## used.
909 ## Type: Font
910 # c.fonts.contextmenu = None
911
912 ## Font used for the debugging console.
913 ## Type: QtFont
914 # c.fonts.debug_console = '10pt monospace'
915
916 ## Font used for the downloadbar.
917 ## Type: Font
918 # c.fonts.downloads = '10pt monospace'
919
920 ## Font used for the hints.
921 ## Type: Font
922 # c.fonts.hints = 'bold 10pt monospace'
923
924 ## Font used in the keyhint widget.
925 ## Type: Font
926 # c.fonts.keyhint = '10pt monospace'
927
928 ## Font used for error messages.
929 ## Type: Font
930 # c.fonts.messages.error = '10pt monospace'
931
932 ## Font used for info messages.
933 ## Type: Font
934 # c.fonts.messages.info = '10pt monospace'
935
936 ## Font used for warning messages.
937 ## Type: Font
938 # c.fonts.messages.warning = '10pt monospace'
939
940 ## Default monospace fonts. Whenever "monospace" is used in a font
941 ## setting, it's replaced with the fonts listed here.
942 ## Type: Font
943 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'
944
945 ## Font used for prompts.
946 ## Type: Font
947 # c.fonts.prompts = '10pt sans-serif'
948
949 ## Font used in the statusbar.
950 ## Type: Font
951 # c.fonts.statusbar = '10pt monospace'
952
953 ## Font used in the tab bar.
954 ## Type: QtFont
955 # c.fonts.tabs = '10pt monospace'
956
957 ## Font family for cursive fonts.
958 ## Type: FontFamily
959 # c.fonts.web.family.cursive = ''
960
961 ## Font family for fantasy fonts.
962 ## Type: FontFamily
963 # c.fonts.web.family.fantasy = ''
964
965 ## Font family for fixed fonts.
966 ## Type: FontFamily
967 # c.fonts.web.family.fixed = ''
968
969 ## Font family for sans-serif fonts.
970 ## Type: FontFamily
971 # c.fonts.web.family.sans_serif = ''
972
973 ## Font family for serif fonts.
974 ## Type: FontFamily
975 # c.fonts.web.family.serif = ''
976
977 ## Font family for standard fonts.
978 ## Type: FontFamily
979 # c.fonts.web.family.standard = ''
980
981 ## Default font size (in pixels) for regular text.
982 ## Type: Int
983 # c.fonts.web.size.default = 16
984
985 ## Default font size (in pixels) for fixed-pitch text.
986 ## Type: Int
987 # c.fonts.web.size.default_fixed = 13
988
989 ## Hard minimum font size (in pixels).
990 ## Type: Int
991 # c.fonts.web.size.minimum = 0
992
993 ## Minimum logical font size (in pixels) that is applied when zooming
994 ## out.
995 ## Type: Int
996 # c.fonts.web.size.minimum_logical = 6
997
998 ## When a hint can be automatically followed without pressing Enter.
999 ## Type: String
1000 ## Valid values:
1001 ## - always: Auto-follow whenever there is only a single hint on a page.
1002 ## - unique-match: Auto-follow whenever there is a unique non-empty match in either the hint string (word mode) or filter (number mode).
1003 ## - 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).
1004 ## - never: The user will always need to press Enter to follow a hint.
1005 # c.hints.auto_follow = 'unique-match'
1006
1007 ## Duration (in milliseconds) to ignore normal-mode key bindings after a
1008 ## successful auto-follow.
1009 ## Type: Int
1010 # c.hints.auto_follow_timeout = 0
1011
1012 ## CSS border value for hints.
1013 ## Type: String
1014 # c.hints.border = '1px solid #E3BE23'
1015
1016 ## Characters used for hint strings.
1017 ## Type: UniqueCharString
1018 c.hints.chars = 'aoeuidhtns'
1019
1020 ## Dictionary file to be used by the word hints.
1021 ## Type: File
1022 # c.hints.dictionary = '/usr/share/dict/words'
1023
1024 ## Which implementation to use to find elements to hint.
1025 ## Type: String
1026 ## Valid values:
1027 ## - javascript: Better but slower
1028 ## - python: Slightly worse but faster
1029 # c.hints.find_implementation = 'python'
1030
1031 ## Hide unmatched hints in rapid mode.
1032 ## Type: Bool
1033 # c.hints.hide_unmatched_rapid_hints = True
1034
1035 ## Leave hint mode when starting a new page load.
1036 ## Type: Bool
1037 # c.hints.leave_on_load = True
1038
1039 ## Minimum number of characters used for hint strings.
1040 ## Type: Int
1041 c.hints.min_chars = 2
1042
1043 ## Mode to use for hints.
1044 ## Type: String
1045 ## Valid values:
1046 ## - 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.)
1047 ## - letter: Use the characters in the `hints.chars` setting.
1048 ## - word: Use hints words based on the html elements and the extra words.
1049 # c.hints.mode = 'letter'
1050
1051 ## Comma-separated list of regular expressions to use for 'next' links.
1052 ## Type: List of Regex
1053 # c.hints.next_regexes = ['\\bnext\\b', '\\bmore\\b', '\\bnewer\\b', '\\b[>→≫]\\b', '\\b(>>|»)\\b', '\\bcontinue\\b']
1054
1055 ## Comma-separated list of regular expressions to use for 'prev' links.
1056 ## Type: List of Regex
1057 # c.hints.prev_regexes = ['\\bprev(ious)?\\b', '\\bback\\b', '\\bolder\\b', '\\b[<←≪]\\b', '\\b(<<|«)\\b']
1058
1059 ## Scatter hint key chains (like Vimium) or not (like dwb). Ignored for
1060 ## number hints.
1061 ## Type: Bool
1062 c.hints.scatter = False
1063
1064 ## CSS selectors used to determine which elements on a page should have
1065 ## hints.
1066 ## Type: Dict
1067 # 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']}
1068
1069 ## Make characters in hint strings uppercase.
1070 ## Type: Bool
1071 # c.hints.uppercase = False
1072
1073 ## Maximum time (in minutes) between two history items for them to be
1074 ## considered being from the same browsing session. Items with less time
1075 ## between them are grouped when being displayed in `:history`. Use -1 to
1076 ## disable separation.
1077 ## Type: Int
1078 # c.history_gap_interval = 30
1079
1080 ## Allow Escape to quit the crash reporter.
1081 ## Type: Bool
1082 # c.input.escape_quits_reporter = True
1083
1084 ## Which unbound keys to forward to the webview in normal mode.
1085 ## Type: String
1086 ## Valid values:
1087 ## - all: Forward all unbound keys.
1088 ## - auto: Forward unbound non-alphanumeric keys.
1089 ## - none: Don't forward any keys.
1090 # c.input.forward_unbound_keys = 'auto'
1091
1092 ## Enter insert mode if an editable element is clicked.
1093 ## Type: Bool
1094 # c.input.insert_mode.auto_enter = True
1095
1096 ## Leave insert mode if a non-editable element is clicked.
1097 ## Type: Bool
1098 # c.input.insert_mode.auto_leave = True
1099
1100 ## Automatically enter insert mode if an editable element is focused
1101 ## after loading the page.
1102 ## Type: Bool
1103 # c.input.insert_mode.auto_load = False
1104
1105 ## Leave insert mode when starting a new page load. Patterns may be
1106 ## unreliable on this setting, and they may match the url you are
1107 ## navigating to, or the URL you are navigating from.
1108 ## Type: Bool
1109 # c.input.insert_mode.leave_on_load = True
1110
1111 ## Switch to insert mode when clicking flash and other plugins.
1112 ## Type: Bool
1113 # c.input.insert_mode.plugins = False
1114
1115 ## Include hyperlinks in the keyboard focus chain when tabbing.
1116 ## Type: Bool
1117 # c.input.links_included_in_focus_chain = True
1118
1119 ## Timeout (in milliseconds) for partially typed key bindings. If the
1120 ## current input forms only partial matches, the keystring will be
1121 ## cleared after this time.
1122 ## Type: Int
1123 # c.input.partial_timeout = 5000
1124
1125 ## Enable Opera-like mouse rocker gestures. This disables the context
1126 ## menu.
1127 ## Type: Bool
1128 # c.input.rocker_gestures = False
1129
1130 ## Enable spatial navigation. Spatial navigation consists in the ability
1131 ## to navigate between focusable elements in a Web page, such as
1132 ## hyperlinks and form controls, by using Left, Right, Up and Down arrow
1133 ## keys. For example, if the user presses the Right key, heuristics
1134 ## determine whether there is an element he might be trying to reach
1135 ## towards the right and which element he probably wants.
1136 ## Type: Bool
1137 # c.input.spatial_navigation = False
1138
1139 ## Keychains that shouldn't be shown in the keyhint dialog. Globs are
1140 ## supported, so `;*` will blacklist all keychains starting with `;`. Use
1141 ## `*` to disable keyhints.
1142 ## Type: List of String
1143 # c.keyhint.blacklist = []
1144
1145 ## Time (in milliseconds) from pressing a key to seeing the keyhint
1146 ## dialog.
1147 ## Type: Int
1148 # c.keyhint.delay = 500
1149
1150 ## Rounding radius (in pixels) for the edges of the keyhint dialog.
1151 ## Type: Int
1152 # c.keyhint.radius = 6
1153
1154 ## Duration (in milliseconds) to show messages in the statusbar for. Set
1155 ## to 0 to never clear messages.
1156 ## Type: Int
1157 # c.messages.timeout = 2000
1158
1159 ## How to open links in an existing instance if a new one is launched.
1160 ## This happens when e.g. opening a link from a terminal. See
1161 ## `new_instance_open_target_window` to customize in which window the
1162 ## link is opened in.
1163 ## Type: String
1164 ## Valid values:
1165 ## - tab: Open a new tab in the existing window and activate the window.
1166 ## - tab-bg: Open a new background tab in the existing window and activate the window.
1167 ## - tab-silent: Open a new tab in the existing window without activating the window.
1168 ## - tab-bg-silent: Open a new background tab in the existing window without activating the window.
1169 ## - window: Open in a new window.
1170 # c.new_instance_open_target = 'tab'
1171
1172 ## Which window to choose when opening links as new tabs. When
1173 ## `new_instance_open_target` is set to `window`, this is ignored.
1174 ## Type: String
1175 ## Valid values:
1176 ## - first-opened: Open new tabs in the first (oldest) opened window.
1177 ## - last-opened: Open new tabs in the last (newest) opened window.
1178 ## - last-focused: Open new tabs in the most recently focused window.
1179 ## - last-visible: Open new tabs in the most recently visible window.
1180 # c.new_instance_open_target_window = 'last-focused'
1181
1182 ## Show a filebrowser in upload/download prompts.
1183 ## Type: Bool
1184 # c.prompt.filebrowser = True
1185
1186 ## Rounding radius (in pixels) for the edges of prompts.
1187 ## Type: Int
1188 # c.prompt.radius = 8
1189
1190 ## Additional arguments to pass to Qt, without leading `--`. With
1191 ## QtWebEngine, some Chromium arguments (see
1192 ## https://peter.sh/experiments/chromium-command-line-switches/ for a
1193 ## list) will work.
1194 ## Type: List of String
1195 # c.qt.args = []
1196
1197 ## Force a Qt platform to use. This sets the `QT_QPA_PLATFORM`
1198 ## environment variable and is useful to force using the XCB plugin when
1199 ## running QtWebEngine on Wayland.
1200 ## Type: String
1201 # c.qt.force_platform = None
1202
1203 ## Force software rendering for QtWebEngine. This is needed for
1204 ## QtWebEngine to work with Nouveau drivers and can be useful in other
1205 ## scenarios related to graphic issues.
1206 ## Type: String
1207 ## Valid values:
1208 ## - software-opengl: Tell LibGL to use a software implementation of GL (`LIBGL_ALWAYS_SOFTWARE` / `QT_XCB_FORCE_SOFTWARE_OPENGL`)
1209 ## - qt-quick: Tell Qt Quick to use a software renderer instead of OpenGL. (`QT_QUICK_BACKEND=software`)
1210 ## - chromium: Tell Chromium to disable GPU support and use Skia software rendering instead. (`--disable-gpu`)
1211 ## - none: Don't force software rendering.
1212 # c.qt.force_software_rendering = 'none'
1213
1214 ## Turn on Qt HighDPI scaling. This is equivalent to setting
1215 ## QT_AUTO_SCREEN_SCALE_FACTOR=1 or QT_ENABLE_HIGHDPI_SCALING=1 (Qt >=
1216 ## 5.14) in the environment. It's off by default as it can cause issues
1217 ## with some bitmap fonts. As an alternative to this, it's possible to
1218 ## set font sizes and the `zoom.default` setting.
1219 ## Type: Bool
1220 # c.qt.highdpi = False
1221
1222 ## When to use Chromium's low-end device mode. This improves the RAM
1223 ## usage of renderer processes, at the expense of performance.
1224 ## Type: String
1225 ## Valid values:
1226 ## - always: Always use low-end device mode.
1227 ## - auto: Decide automatically (uses low-end mode with < 1 GB available RAM).
1228 ## - never: Never use low-end device mode.
1229 # c.qt.low_end_device_mode = 'auto'
1230
1231 ## Which Chromium process model to use. Alternative process models use
1232 ## less resources, but decrease security and robustness. See the
1233 ## following pages for more details: -
1234 ## https://www.chromium.org/developers/design-documents/process-models
1235 ## - https://doc.qt.io/qt-5/qtwebengine-features.html#process-models
1236 ## Type: String
1237 ## Valid values:
1238 ## - process-per-site-instance: Pages from separate sites are put into separate processes and separate visits to the same site are also isolated.
1239 ## - 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.
1240 ## - single-process: Run all tabs in a single process. This should be used for debugging purposes only, and it disables `:open --private`.
1241 # c.qt.process_model = 'process-per-site-instance'
1242
1243 ## When to show the scrollbar.
1244 ## Type: String
1245 ## Valid values:
1246 ## - always: Always show the scrollbar.
1247 ## - never: Never show the scrollbar.
1248 ## - when-searching: Show the scrollbar when searching for text in the webpage. With the QtWebKit backend, this is equal to `never`.
1249 c.scrolling.bar = 'never'
1250
1251 ## Enable smooth scrolling for web pages. Note smooth scrolling does not
1252 ## work with the `:scroll-px` command.
1253 ## Type: Bool
1254 # c.scrolling.smooth = False
1255
1256 ## When to find text on a page case-insensitively.
1257 ## Type: IgnoreCase
1258 ## Valid values:
1259 ## - always: Search case-insensitively.
1260 ## - never: Search case-sensitively.
1261 ## - smart: Search case-sensitively if there are capital characters.
1262 # c.search.ignore_case = 'smart'
1263
1264 ## Find text on a page incrementally, renewing the search for each typed
1265 ## character.
1266 ## Type: Bool
1267 # c.search.incremental = True
1268
1269 ## Name of the session to save by default. If this is set to null, the
1270 ## session which was last loaded is saved.
1271 ## Type: SessionName
1272 # c.session.default_name = None
1273
1274 ## Load a restored tab as soon as it takes focus.
1275 ## Type: Bool
1276 c.session.lazy_restore = True
1277
1278 ## Languages to use for spell checking. You can check for available
1279 ## languages and install dictionaries using scripts/dictcli.py. Run the
1280 ## script with -h/--help for instructions.
1281 ## Type: List of String
1282 ## Valid values:
1283 ## - af-ZA: Afrikaans (South Africa)
1284 ## - bg-BG: Bulgarian (Bulgaria)
1285 ## - ca-ES: Catalan (Spain)
1286 ## - cs-CZ: Czech (Czech Republic)
1287 ## - da-DK: Danish (Denmark)
1288 ## - de-DE: German (Germany)
1289 ## - el-GR: Greek (Greece)
1290 ## - en-AU: English (Australia)
1291 ## - en-CA: English (Canada)
1292 ## - en-GB: English (United Kingdom)
1293 ## - en-US: English (United States)
1294 ## - es-ES: Spanish (Spain)
1295 ## - et-EE: Estonian (Estonia)
1296 ## - fa-IR: Farsi (Iran)
1297 ## - fo-FO: Faroese (Faroe Islands)
1298 ## - fr-FR: French (France)
1299 ## - he-IL: Hebrew (Israel)
1300 ## - hi-IN: Hindi (India)
1301 ## - hr-HR: Croatian (Croatia)
1302 ## - hu-HU: Hungarian (Hungary)
1303 ## - id-ID: Indonesian (Indonesia)
1304 ## - it-IT: Italian (Italy)
1305 ## - ko: Korean
1306 ## - lt-LT: Lithuanian (Lithuania)
1307 ## - lv-LV: Latvian (Latvia)
1308 ## - nb-NO: Norwegian (Norway)
1309 ## - nl-NL: Dutch (Netherlands)
1310 ## - pl-PL: Polish (Poland)
1311 ## - pt-BR: Portuguese (Brazil)
1312 ## - pt-PT: Portuguese (Portugal)
1313 ## - ro-RO: Romanian (Romania)
1314 ## - ru-RU: Russian (Russia)
1315 ## - sh: Serbo-Croatian
1316 ## - sk-SK: Slovak (Slovakia)
1317 ## - sl-SI: Slovenian (Slovenia)
1318 ## - sq: Albanian
1319 ## - sr: Serbian
1320 ## - sv-SE: Swedish (Sweden)
1321 ## - ta-IN: Tamil (India)
1322 ## - tg-TG: Tajik (Tajikistan)
1323 ## - tr-TR: Turkish (Turkey)
1324 ## - uk-UA: Ukrainian (Ukraine)
1325 ## - vi-VN: Vietnamese (Viet Nam)
1326 c.spellcheck.languages = ['en-GB']
1327
1328 ## Hide the statusbar unless a message is shown.
1329 ## Type: Bool
1330 # c.statusbar.hide = False
1331
1332 ## Padding (in pixels) for the statusbar.
1333 ## Type: Padding
1334 # c.statusbar.padding = {'top': 1, 'bottom': 1, 'left': 0, 'right': 0}
1335
1336 ## Position of the status bar.
1337 ## Type: VerticalPosition
1338 ## Valid values:
1339 ## - top
1340 ## - bottom
1341 # c.statusbar.position = 'bottom'
1342
1343 ## List of widgets displayed in the statusbar.
1344 ## Type: List of String
1345 ## Valid values:
1346 ## - url: Current page URL.
1347 ## - scroll: Percentage of the current page position like `10%`.
1348 ## - scroll_raw: Raw percentage of the current page position like `10`.
1349 ## - history: Display an arrow when possible to go back/forward in history.
1350 ## - tabs: Current active tab, e.g. `2`.
1351 ## - keypress: Display pressed keys when composing a vi command.
1352 ## - progress: Progress bar for the current page loading.
1353 # c.statusbar.widgets = ['keypress', 'url', 'scroll', 'history', 'tabs', 'progress']
1354
1355 ## Open new tabs (middleclick/ctrl+click) in the background.
1356 ## Type: Bool
1357 # c.tabs.background = False
1358
1359 ## Mouse button with which to close tabs.
1360 ## Type: String
1361 ## Valid values:
1362 ## - right: Close tabs on right-click.
1363 ## - middle: Close tabs on middle-click.
1364 ## - none: Don't close tabs using the mouse.
1365 # c.tabs.close_mouse_button = 'middle'
1366
1367 ## How to behave when the close mouse button is pressed on the tab bar.
1368 ## Type: String
1369 ## Valid values:
1370 ## - new-tab: Open a new tab.
1371 ## - close-current: Close the current tab.
1372 ## - close-last: Close the last tab.
1373 ## - ignore: Don't do anything.
1374 # c.tabs.close_mouse_button_on_bar = 'new-tab'
1375
1376 ## Scaling factor for favicons in the tab bar. The tab size is unchanged,
1377 ## so big favicons also require extra `tabs.padding`.
1378 ## Type: Float
1379 # c.tabs.favicons.scale = 1.0
1380
1381 ## When to show favicons in the tab bar.
1382 ## Type: String
1383 ## Valid values:
1384 ## - always: Always show favicons.
1385 ## - never: Always hide favicons.
1386 ## - pinned: Show favicons only on pinned tabs.
1387 # c.tabs.favicons.show = 'always'
1388
1389 ## Maximum stack size to remember for tab switches (-1 for no maximum).
1390 ## Type: Int
1391 # c.tabs.focus_stack_size = 10
1392
1393 ## Padding (in pixels) for tab indicators.
1394 ## Type: Padding
1395 # c.tabs.indicator.padding = {'top': 2, 'bottom': 2, 'left': 0, 'right': 4}
1396
1397 ## Width (in pixels) of the progress indicator (0 to disable).
1398 ## Type: Int
1399 # c.tabs.indicator.width = 3
1400
1401 ## How to behave when the last tab is closed.
1402 ## Type: String
1403 ## Valid values:
1404 ## - ignore: Don't do anything.
1405 ## - blank: Load a blank page.
1406 ## - startpage: Load the start page.
1407 ## - default-page: Load the default page.
1408 ## - close: Close the window.
1409 # c.tabs.last_close = 'ignore'
1410
1411 ## Maximum width (in pixels) of tabs (-1 for no maximum). This setting
1412 ## only applies when tabs are horizontal. This setting does not apply to
1413 ## pinned tabs, unless `tabs.pinned.shrink` is False. This setting may
1414 ## not apply properly if max_width is smaller than the minimum size of
1415 ## tab contents, or smaller than tabs.min_width.
1416 ## Type: Int
1417 # c.tabs.max_width = -1
1418
1419 ## Minimum width (in pixels) of tabs (-1 for the default minimum size
1420 ## behavior). This setting only applies when tabs are horizontal. This
1421 ## setting does not apply to pinned tabs, unless `tabs.pinned.shrink` is
1422 ## False.
1423 ## Type: Int
1424 # c.tabs.min_width = -1
1425
1426 ## When switching tabs, what input mode is applied.
1427 ## Type: String
1428 ## Valid values:
1429 ## - persist: Retain the current mode.
1430 ## - restore: Restore previously saved mode.
1431 ## - normal: Always revert to normal mode.
1432 # c.tabs.mode_on_change = 'normal'
1433
1434 ## Switch between tabs using the mouse wheel.
1435 ## Type: Bool
1436 # c.tabs.mousewheel_switching = True
1437
1438 ## Position of new tabs opened from another tab. See
1439 ## `tabs.new_position.stacking` for controlling stacking behavior.
1440 ## Type: NewTabPosition
1441 ## Valid values:
1442 ## - prev: Before the current tab.
1443 ## - next: After the current tab.
1444 ## - first: At the beginning.
1445 ## - last: At the end.
1446 # c.tabs.new_position.related = 'next'
1447
1448 ## Stack related tabs on top of each other when opened consecutively.
1449 ## Only applies for `next` and `prev` values of
1450 ## `tabs.new_position.related` and `tabs.new_position.unrelated`.
1451 ## Type: Bool
1452 # c.tabs.new_position.stacking = True
1453
1454 ## Position of new tabs which are not opened from another tab. See
1455 ## `tabs.new_position.stacking` for controlling stacking behavior.
1456 ## Type: NewTabPosition
1457 ## Valid values:
1458 ## - prev: Before the current tab.
1459 ## - next: After the current tab.
1460 ## - first: At the beginning.
1461 ## - last: At the end.
1462 c.tabs.new_position.unrelated = 'next'
1463
1464 ## Padding (in pixels) around text for tabs.
1465 ## Type: Padding
1466 # c.tabs.padding = {'top': 0, 'bottom': 0, 'left': 5, 'right': 5}
1467
1468 ## Force pinned tabs to stay at fixed URL.
1469 ## Type: Bool
1470 # c.tabs.pinned.frozen = True
1471
1472 ## Shrink pinned tabs down to their contents.
1473 ## Type: Bool
1474 # c.tabs.pinned.shrink = True
1475
1476 ## Position of the tab bar.
1477 ## Type: Position
1478 ## Valid values:
1479 ## - top
1480 ## - bottom
1481 ## - left
1482 ## - right
1483 # c.tabs.position = 'top'
1484
1485 ## Which tab to select when the focused tab is removed.
1486 ## Type: SelectOnRemove
1487 ## Valid values:
1488 ## - prev: Select the tab which came before the closed one (left in horizontal, above in vertical).
1489 ## - next: Select the tab which came after the closed one (right in horizontal, below in vertical).
1490 ## - last-used: Select the previously selected tab.
1491 c.tabs.select_on_remove = 'prev'
1492
1493 ## When to show the tab bar.
1494 ## Type: String
1495 ## Valid values:
1496 ## - always: Always show the tab bar.
1497 ## - never: Always hide the tab bar.
1498 ## - multiple: Hide the tab bar if only one tab is open.
1499 ## - switching: Show the tab bar when switching tabs.
1500 # c.tabs.show = 'always'
1501
1502 ## Duration (in milliseconds) to show the tab bar before hiding it when
1503 ## tabs.show is set to 'switching'.
1504 ## Type: Int
1505 # c.tabs.show_switching_delay = 800
1506
1507 ## Open a new window for every tab.
1508 ## Type: Bool
1509 # c.tabs.tabs_are_windows = False
1510
1511 ## Alignment of the text inside of tabs.
1512 ## Type: TextAlignment
1513 ## Valid values:
1514 ## - left
1515 ## - right
1516 ## - center
1517 # c.tabs.title.alignment = 'left'
1518
1519 ## Format to use for the tab title. The following placeholders are
1520 ## defined: * `{perc}`: Percentage as a string like `[10%]`. *
1521 ## `{perc_raw}`: Raw percentage, e.g. `10`. * `{current_title}`: Title of
1522 ## the current web page. * `{title_sep}`: The string ` - ` if a title is
1523 ## set, empty otherwise. * `{index}`: Index of this tab. * `{id}`:
1524 ## Internal tab ID of this tab. * `{scroll_pos}`: Page scroll position. *
1525 ## `{host}`: Host of the current web page. * `{backend}`: Either
1526 ## ''webkit'' or ''webengine'' * `{private}`: Indicates when private mode
1527 ## is enabled. * `{current_url}`: URL of the current web page. *
1528 ## `{protocol}`: Protocol (http/https/...) of the current web page. *
1529 ## `{audio}`: Indicator for audio/mute status.
1530 ## Type: FormatString
1531 # c.tabs.title.format = '{audio}{index}: {current_title}'
1532
1533 ## Format to use for the tab title for pinned tabs. The same placeholders
1534 ## like for `tabs.title.format` are defined.
1535 ## Type: FormatString
1536 # c.tabs.title.format_pinned = '{index}'
1537
1538 ## Show tooltips on tabs. Note this setting only affects windows opened
1539 ## after it has been set.
1540 ## Type: Bool
1541 # c.tabs.tooltips = True
1542
1543 ## Number of close tab actions to remember, per window (-1 for no
1544 ## maximum).
1545 ## Type: Int
1546 # c.tabs.undo_stack_size = 100
1547
1548 ## Width (in pixels or as percentage of the window) of the tab bar if
1549 ## it's vertical.
1550 ## Type: PercOrInt
1551 # c.tabs.width = '20%'
1552
1553 ## Wrap when changing tabs.
1554 ## Type: Bool
1555 # c.tabs.wrap = True
1556
1557 ## What search to start when something else than a URL is entered.
1558 ## Type: String
1559 ## Valid values:
1560 ## - naive: Use simple/naive check.
1561 ## - dns: Use DNS requests (might be slow!).
1562 ## - never: Never search automatically.
1563 # c.url.auto_search = 'naive'
1564
1565 ## Page to open if :open -t/-b/-w is used without URL. Use `about:blank`
1566 ## for a blank page.
1567 ## Type: FuzzyUrl
1568 c.url.default_page = 'https://duckduckgo.com/?t=chakra'
1569
1570 ## URL segments where `:navigate increment/decrement` will search for a
1571 ## number.
1572 ## Type: FlagList
1573 ## Valid values:
1574 ## - host
1575 ## - port
1576 ## - path
1577 ## - query
1578 ## - anchor
1579 # c.url.incdec_segments = ['path', 'query']
1580
1581 ## Open base URL of the searchengine if a searchengine shortcut is
1582 ## invoked without parameters.
1583 ## Type: Bool
1584 # c.url.open_base_url = False
1585
1586 ## Search engines which can be used via the address bar. Maps a search
1587 ## engine name (such as `DEFAULT`, or `ddg`) to a URL with a `{}`
1588 ## placeholder. The placeholder will be replaced by the search term, use
1589 ## `{{` and `}}` for literal `{`/`}` signs. The search engine named
1590 ## `DEFAULT` is used when `url.auto_search` is turned on and something
1591 ## else than a URL was entered to be opened. Other search engines can be
1592 ## used by prepending the search engine name to the search term, e.g.
1593 ## `:open google qutebrowser`.
1594 ## Type: Dict
1595 c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?t=chakra&q={}',
1596 'ddg': 'https://duckduckgo.com/?t=chakra&q={}',
1597 'slack': 'https://focalpointpositioning.slack.com/messages/{}',
1598 'std': 'http://en.cppreference.com/mwiki/index.php?title=Special%3ASearch&search={}',
1599 }
1600
1601 ## Page(s) to open at the start.
1602 ## Type: List of FuzzyUrl, or FuzzyUrl
1603 # c.url.start_pages = ['https://start.duckduckgo.com']
1604
1605 ## URL parameters to strip with `:yank url`.
1606 ## Type: List of String
1607 # c.url.yank_ignored_parameters = ['ref', 'utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content']
1608
1609 ## Hide the window decoration. This setting requires a restart on
1610 ## Wayland.
1611 ## Type: Bool
1612 # c.window.hide_decoration = False
1613
1614 ## Format to use for the window title. The same placeholders like for
1615 ## `tabs.title.format` are defined.
1616 ## Type: FormatString
1617 # c.window.title_format = '{perc}{current_title}{title_sep}qutebrowser'
1618
1619 ## Default zoom level.
1620 ## Type: Perc
1621 # c.zoom.default = '100%'
1622
1623 ## Available zoom levels.
1624 ## Type: List of Perc
1625 # c.zoom.levels = ['25%', '33%', '50%', '67%', '75%', '90%', '100%', '110%', '125%', '150%', '175%', '200%', '250%', '300%', '400%', '500%']
1626
1627 ## Number of zoom increments to divide the mouse wheel movements to.
1628 ## Type: Int
1629 # c.zoom.mouse_divider = 512
1630
1631 ## Apply the zoom factor on a frame only to the text or to all content.
1632 ## Type: Bool
1633 # c.zoom.text_only = False
1634
1635 ## Bindings for normal mode
1636 # config.bind("'", 'enter-mode jump_mark')
1637 # config.bind('+', 'zoom-in')
1638 # config.bind('-', 'zoom-out')
1639 # config.bind('.', 'repeat-command')
1640 # config.bind('/', 'set-cmd-text /')
1641 # config.bind(':', 'set-cmd-text :')
1642 # config.bind(';I', 'hint images tab')
1643 # config.bind(';O', 'hint links fill :open -t -r {hint-url}')
1644 # config.bind(';R', 'hint --rapid links window')
1645 # config.bind(';Y', 'hint links yank-primary')
1646 # config.bind(';b', 'hint all tab-bg')
1647 # config.bind(';d', 'hint links download')
1648 # config.bind(';f', 'hint all tab-fg')
1649 # config.bind(';h', 'hint all hover')
1650 # config.bind(';i', 'hint images')
1651 # config.bind(';o', 'hint links fill :open {hint-url}')
1652 # config.bind(';r', 'hint --rapid links tab-bg')
1653 # config.bind(';t', 'hint inputs')
1654 # config.bind(';y', 'hint links yank')
1655 # config.bind('<Alt-1>', 'tab-focus 1')
1656 # config.bind('<Alt-2>', 'tab-focus 2')
1657 # config.bind('<Alt-3>', 'tab-focus 3')
1658 # config.bind('<Alt-4>', 'tab-focus 4')
1659 # config.bind('<Alt-5>', 'tab-focus 5')
1660 # config.bind('<Alt-6>', 'tab-focus 6')
1661 # config.bind('<Alt-7>', 'tab-focus 7')
1662 # config.bind('<Alt-8>', 'tab-focus 8')
1663 # config.bind('<Alt-9>', 'tab-focus -1')
1664 # config.bind('<Alt-m>', 'tab-mute')
1665 # config.bind('<Ctrl-A>', 'navigate increment')
1666 # config.bind('<Ctrl-Alt-p>', 'print')
1667 # config.bind('<Ctrl-B>', 'scroll-page 0 -1')
1668 # config.bind('<Ctrl-D>', 'scroll-page 0 0.5')
1669 # config.bind('<Ctrl-F5>', 'reload -f')
1670 # config.bind('<Ctrl-F>', 'scroll-page 0 1')
1671 # config.bind('<Ctrl-N>', 'open -w')
1672 # config.bind('<Ctrl-PgDown>', 'tab-next')
1673 # config.bind('<Ctrl-PgUp>', 'tab-prev')
1674 # config.bind('<Ctrl-Q>', 'quit')
1675 # config.bind('<Ctrl-Return>', 'follow-selected -t')
1676 # config.bind('<Ctrl-Shift-N>', 'open -p')
1677 # config.bind('<Ctrl-Shift-T>', 'undo')
1678 # config.bind('<Ctrl-Shift-Tab>', 'nop')
1679 # config.bind('<Ctrl-Shift-W>', 'close')
1680 # config.bind('<Ctrl-T>', 'open -t')
1681 # config.bind('<Ctrl-Tab>', 'tab-focus last')
1682 # config.bind('<Ctrl-U>', 'scroll-page 0 -0.5')
1683 # config.bind('<Ctrl-V>', 'enter-mode passthrough')
1684 # config.bind('<Ctrl-W>', 'tab-close')
1685 # config.bind('<Ctrl-X>', 'navigate decrement')
1686 # config.bind('<Ctrl-^>', 'tab-focus last')
1687 # config.bind('<Ctrl-h>', 'home')
1688 # config.bind('<Ctrl-p>', 'tab-pin')
1689 # config.bind('<Ctrl-s>', 'stop')
1690 config.bind('<Escape>', 'clear-keychain ;; search ;; fullscreen --leave ;; fake-key <Escape>')
1691 # config.bind('<F11>', 'fullscreen')
1692 # config.bind('<F5>', 'reload')
1693 # config.bind('<Return>', 'follow-selected')
1694 # config.bind('<back>', 'back')
1695 # config.bind('<forward>', 'forward')
1696 # config.bind('=', 'zoom')
1697 # config.bind('?', 'set-cmd-text ?')
1698 # config.bind('@', 'run-macro')
1699 # config.bind('B', 'set-cmd-text -s :quickmark-load -t')
1700 # config.bind('D', 'tab-close -o')
1701 # config.bind('F', 'hint all tab')
1702 # config.bind('G', 'scroll-to-perc')
1703 # config.bind('H', 'back')
1704 config.bind('K', 'tab-next')
1705 config.bind('J', 'tab-prev')
1706 # config.bind('L', 'forward')
1707 # config.bind('M', 'bookmark-add')
1708 # config.bind('N', 'search-prev')
1709 # config.bind('O', 'set-cmd-text -s :open -t')
1710 # config.bind('PP', 'open -t -- {primary}')
1711 # config.bind('Pp', 'open -t -- {clipboard}')
1712 # config.bind('R', 'reload -f')
1713 # config.bind('Sb', 'open qute://bookmarks#bookmarks')
1714 # config.bind('Sh', 'open qute://history')
1715 # config.bind('Sq', 'open qute://bookmarks')
1716 # config.bind('Ss', 'open qute://settings')
1717 # config.bind('T', 'tab-focus')
1718 # config.bind('ZQ', 'quit')
1719 # config.bind('ZZ', 'quit --save')
1720 # config.bind('[[', 'navigate prev')
1721 # config.bind(']]', 'navigate next')
1722 # config.bind('`', 'enter-mode set_mark')
1723 # config.bind('ad', 'download-cancel')
1724 # config.bind('b', 'set-cmd-text -s :quickmark-load')
1725 # config.bind('cd', 'download-clear')
1726 config.unbind('co')
1727 config.bind('co', 'download-open')
1728 # config.bind('d', 'tab-close')
1729 # config.bind('f', 'hint')
1730 # config.bind('g$', 'tab-focus -1')
1731 # config.bind('g0', 'tab-focus 1')
1732 # config.bind('gB', 'set-cmd-text -s :bookmark-load -t')
1733 # config.bind('gC', 'tab-clone')
1734 # config.bind('gD', 'tab-give')
1735 # config.bind('gO', 'set-cmd-text :open -t -r {url:pretty}')
1736 # config.bind('gU', 'navigate up -t')
1737 # config.bind('g^', 'tab-focus 1')
1738 # config.bind('ga', 'open -t')
1739 # config.bind('gb', 'set-cmd-text -s :bookmark-load')
1740 # config.bind('gd', 'download')
1741 # config.bind('gf', 'view-source')
1742 # config.bind('gg', 'scroll-to-perc 0')
1743 # config.bind('gi', 'hint inputs --first')
1744 # config.bind('gl', 'tab-move -')
1745 # config.bind('gm', 'tab-move')
1746 # config.bind('go', 'set-cmd-text :open {url:pretty}')
1747 # config.bind('gr', 'tab-move +')
1748 # config.bind('gt', 'set-cmd-text -s :buffer')
1749 # config.bind('gu', 'navigate up')
1750 # config.bind('h', 'scroll left')
1751 # config.bind('i', 'enter-mode insert')
1752 # config.bind('j', 'scroll down')
1753 # config.bind('k', 'scroll up')
1754 # config.bind('l', 'scroll right')
1755 # config.bind('m', 'quickmark-save')
1756 config.bind('m', 'spawn mpv {url}')
1757 # config.bind('n', 'search-next')
1758 # config.bind('o', 'set-cmd-text -s :open')
1759 # config.bind('pP', 'open -- {primary}')
1760 # config.bind('pp', 'open -- {clipboard}')
1761 # config.bind('q', 'record-macro')
1762 # config.bind('r', 'reload')
1763 # config.bind('sf', 'save')
1764 # config.bind('sk', 'set-cmd-text -s :bind')
1765 # config.bind('sl', 'set-cmd-text -s :set -t')
1766 # config.bind('ss', 'set-cmd-text -s :set')
1767 # config.bind('tIH', 'config-cycle -p -u *://*.{url:host}/* content.images ;; reload')
1768 # config.bind('tIh', 'config-cycle -p -u *://{url:host}/* content.images ;; reload')
1769 # config.bind('tIu', 'config-cycle -p -u {url} content.images ;; reload')
1770 # config.bind('tPH', 'config-cycle -p -u *://*.{url:host}/* content.plugins ;; reload')
1771 # config.bind('tPh', 'config-cycle -p -u *://{url:host}/* content.plugins ;; reload')
1772 # config.bind('tPu', 'config-cycle -p -u {url} content.plugins ;; reload')
1773 # config.bind('tSH', 'config-cycle -p -u *://*.{url:host}/* content.javascript.enabled ;; reload')
1774 # config.bind('tSh', 'config-cycle -p -u *://{url:host}/* content.javascript.enabled ;; reload')
1775 # config.bind('tSu', 'config-cycle -p -u {url} content.javascript.enabled ;; reload')
1776 # config.bind('th', 'back -t')
1777 # config.bind('tiH', 'config-cycle -p -t -u *://*.{url:host}/* content.images ;; reload')
1778 # config.bind('tih', 'config-cycle -p -t -u *://{url:host}/* content.images ;; reload')
1779 # config.bind('tiu', 'config-cycle -p -t -u {url} content.images ;; reload')
1780 # config.bind('tl', 'forward -t')
1781 # config.bind('tpH', 'config-cycle -p -t -u *://*.{url:host}/* content.plugins ;; reload')
1782 # config.bind('tph', 'config-cycle -p -t -u *://{url:host}/* content.plugins ;; reload')
1783 # config.bind('tpu', 'config-cycle -p -t -u {url} content.plugins ;; reload')
1784 # config.bind('tsH', 'config-cycle -p -t -u *://*.{url:host}/* content.javascript.enabled ;; reload')
1785 # config.bind('tsh', 'config-cycle -p -t -u *://{url:host}/* content.javascript.enabled ;; reload')
1786 # config.bind('tsu', 'config-cycle -p -t -u {url} content.javascript.enabled ;; reload')
1787 # config.bind('u', 'undo')
1788 # config.bind('v', 'enter-mode caret')
1789 # config.bind('wB', 'set-cmd-text -s :bookmark-load -w')
1790 # config.bind('wO', 'set-cmd-text :open -w {url:pretty}')
1791 # config.bind('wP', 'open -w -- {primary}')
1792 # config.bind('wb', 'set-cmd-text -s :quickmark-load -w')
1793 # config.bind('wf', 'hint all window')
1794 # config.bind('wh', 'back -w')
1795 # config.bind('wi', 'inspector')
1796 # config.bind('wl', 'forward -w')
1797 # config.bind('wo', 'set-cmd-text -s :open -w')
1798 # config.bind('wp', 'open -w -- {clipboard}')
1799 # config.bind('xO', 'set-cmd-text :open -b -r {url:pretty}')
1800 # config.bind('xo', 'set-cmd-text -s :open -b')
1801 # config.bind('yD', 'yank domain -s')
1802 # config.bind('yM', 'yank inline [{title}]({url}) -s')
1803 # config.bind('yP', 'yank pretty-url -s')
1804 # config.bind('yT', 'yank title -s')
1805 # config.bind('yY', 'yank -s')
1806 # config.bind('yd', 'yank domain')
1807 # config.bind('ym', 'yank inline [{title}]({url})')
1808 # config.bind('yp', 'yank pretty-url')
1809 # config.bind('yt', 'yank title')
1810 # config.bind('yy', 'yank')
1811 # config.bind('{{', 'navigate prev -t')
1812 # config.bind('}}', 'navigate next -t')
1813
1814 ## Bindings for caret mode
1815 # config.bind('$', 'move-to-end-of-line', mode='caret')
1816 # config.bind('0', 'move-to-start-of-line', mode='caret')
1817 # config.bind('<Ctrl-Space>', 'drop-selection', mode='caret')
1818 # config.bind('<Escape>', 'leave-mode', mode='caret')
1819 # config.bind('<Return>', 'yank selection', mode='caret')
1820 # config.bind('<Space>', 'toggle-selection', mode='caret')
1821 # config.bind('G', 'move-to-end-of-document', mode='caret')
1822 # config.bind('H', 'scroll left', mode='caret')
1823 # config.bind('J', 'scroll down', mode='caret')
1824 # config.bind('K', 'scroll up', mode='caret')
1825 # config.bind('L', 'scroll right', mode='caret')
1826 # config.bind('Y', 'yank selection -s', mode='caret')
1827 # config.bind('[', 'move-to-start-of-prev-block', mode='caret')
1828 # config.bind(']', 'move-to-start-of-next-block', mode='caret')
1829 # config.bind('b', 'move-to-prev-word', mode='caret')
1830 # config.bind('c', 'enter-mode normal', mode='caret')
1831 # config.bind('e', 'move-to-end-of-word', mode='caret')
1832 # config.bind('gg', 'move-to-start-of-document', mode='caret')
1833 # config.bind('h', 'move-to-prev-char', mode='caret')
1834 # config.bind('j', 'move-to-next-line', mode='caret')
1835 # config.bind('k', 'move-to-prev-line', mode='caret')
1836 # config.bind('l', 'move-to-next-char', mode='caret')
1837 # config.bind('o', 'reverse-selection', mode='caret')
1838 # config.bind('v', 'toggle-selection', mode='caret')
1839 # config.bind('w', 'move-to-next-word', mode='caret')
1840 # config.bind('y', 'yank selection', mode='caret')
1841 # config.bind('{', 'move-to-end-of-prev-block', mode='caret')
1842 # config.bind('}', 'move-to-end-of-next-block', mode='caret')
1843
1844 ## Bindings for command mode
1845 # config.bind('<Alt-B>', 'rl-backward-word', mode='command')
1846 # config.bind('<Alt-Backspace>', 'rl-backward-kill-word', mode='command')
1847 # config.bind('<Alt-D>', 'rl-kill-word', mode='command')
1848 # config.bind('<Alt-F>', 'rl-forward-word', mode='command')
1849 # config.bind('<Ctrl-?>', 'rl-delete-char', mode='command')
1850 # config.bind('<Ctrl-A>', 'rl-beginning-of-line', mode='command')
1851 # config.bind('<Ctrl-B>', 'rl-backward-char', mode='command')
1852 # config.bind('<Ctrl-C>', 'completion-item-yank', mode='command')
1853 # config.bind('<Ctrl-D>', 'completion-item-del', mode='command')
1854 # config.bind('<Ctrl-E>', 'rl-end-of-line', mode='command')
1855 # config.bind('<Ctrl-F>', 'rl-forward-char', mode='command')
1856 # config.bind('<Ctrl-H>', 'rl-backward-delete-char', mode='command')
1857 # config.bind('<Ctrl-K>', 'rl-kill-line', mode='command')
1858 # config.bind('<Ctrl-N>', 'command-history-next', mode='command')
1859 # config.bind('<Ctrl-P>', 'command-history-prev', mode='command')
1860 # config.bind('<Ctrl-Return>', 'command-accept --rapid', mode='command')
1861 # config.bind('<Ctrl-Shift-C>', 'completion-item-yank --sel', mode='command')
1862 # config.bind('<Ctrl-Shift-Tab>', 'completion-item-focus prev-category', mode='command')
1863 # config.bind('<Ctrl-Tab>', 'completion-item-focus next-category', mode='command')
1864 # config.bind('<Ctrl-U>', 'rl-unix-line-discard', mode='command')
1865 # config.bind('<Ctrl-W>', 'rl-unix-word-rubout', mode='command')
1866 # config.bind('<Ctrl-Y>', 'rl-yank', mode='command')
1867 # config.bind('<Down>', 'completion-item-focus --history next', mode='command')
1868 # config.bind('<Escape>', 'leave-mode', mode='command')
1869 # config.bind('<Return>', 'command-accept', mode='command')
1870 # config.bind('<Shift-Delete>', 'completion-item-del', mode='command')
1871 # config.bind('<Shift-Tab>', 'completion-item-focus prev', mode='command')
1872 # config.bind('<Tab>', 'completion-item-focus next', mode='command')
1873 # config.bind('<Up>', 'completion-item-focus --history prev', mode='command')
1874
1875 ## Bindings for hint mode
1876 # config.bind('<Ctrl-B>', 'hint all tab-bg', mode='hint')
1877 # config.bind('<Ctrl-F>', 'hint links', mode='hint')
1878 # config.bind('<Ctrl-R>', 'hint --rapid links tab-bg', mode='hint')
1879 # config.bind('<Escape>', 'leave-mode', mode='hint')
1880 # config.bind('<Return>', 'follow-hint', mode='hint')
1881
1882 ## Bindings for insert mode
1883 # config.bind('<Ctrl-E>', 'open-editor', mode='insert')
1884 # config.bind('<Escape>', 'leave-mode', mode='insert')
1885 # config.bind('<Shift-Ins>', 'insert-text -- {primary}', mode='insert')
1886
1887 ## Bindings for passthrough mode
1888 # config.bind('<Shift-Escape>', 'leave-mode', mode='passthrough')
1889
1890 ## Bindings for prompt mode
1891 # config.bind('<Alt-B>', 'rl-backward-word', mode='prompt')
1892 # config.bind('<Alt-Backspace>', 'rl-backward-kill-word', mode='prompt')
1893 # config.bind('<Alt-D>', 'rl-kill-word', mode='prompt')
1894 # config.bind('<Alt-F>', 'rl-forward-word', mode='prompt')
1895 # config.bind('<Alt-Shift-Y>', 'prompt-yank --sel', mode='prompt')
1896 # config.bind('<Alt-Y>', 'prompt-yank', mode='prompt')
1897 # config.bind('<Ctrl-?>', 'rl-delete-char', mode='prompt')
1898 # config.bind('<Ctrl-A>', 'rl-beginning-of-line', mode='prompt')
1899 # config.bind('<Ctrl-B>', 'rl-backward-char', mode='prompt')
1900 # config.bind('<Ctrl-E>', 'rl-end-of-line', mode='prompt')
1901 # config.bind('<Ctrl-F>', 'rl-forward-char', mode='prompt')
1902 # config.bind('<Ctrl-H>', 'rl-backward-delete-char', mode='prompt')
1903 # config.bind('<Ctrl-K>', 'rl-kill-line', mode='prompt')
1904 # config.bind('<Ctrl-P>', 'prompt-open-download --pdfjs', mode='prompt')
1905 # config.bind('<Ctrl-U>', 'rl-unix-line-discard', mode='prompt')
1906 # config.bind('<Ctrl-W>', 'rl-unix-word-rubout', mode='prompt')
1907 # config.bind('<Ctrl-X>', 'prompt-open-download', mode='prompt')
1908 # config.bind('<Ctrl-Y>', 'rl-yank', mode='prompt')
1909 # config.bind('<Down>', 'prompt-item-focus next', mode='prompt')
1910 # config.bind('<Escape>', 'leave-mode', mode='prompt')
1911 # config.bind('<Return>', 'prompt-accept', mode='prompt')
1912 # config.bind('<Shift-Tab>', 'prompt-item-focus prev', mode='prompt')
1913 # config.bind('<Tab>', 'prompt-item-focus next', mode='prompt')
1914 # config.bind('<Up>', 'prompt-item-focus prev', mode='prompt')
1915
1916 ## Bindings for register mode
1917 # config.bind('<Escape>', 'leave-mode', mode='register')
1918
1919 ## Bindings for yesno mode
1920 # config.bind('<Alt-Shift-Y>', 'prompt-yank --sel', mode='yesno')
1921 # config.bind('<Alt-Y>', 'prompt-yank', mode='yesno')
1922 # config.bind('<Escape>', 'leave-mode', mode='yesno')
1923 # config.bind('<Return>', 'prompt-accept', mode='yesno')
1924 # config.bind('N', 'prompt-accept --save no', mode='yesno')
1925 # config.bind('Y', 'prompt-accept --save yes', mode='yesno')
1926 # config.bind('n', 'prompt-accept no', mode='yesno')
1927 # config.bind('y', 'prompt-accept yes', mode='yesno')