config.py 94 KB

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