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