PageRenderTime 43ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 1ms

/software.cat/qutebrowser.org

https://gitlab.com/csantosb/wikidata
Org | 1731 lines | 1383 code | 317 blank | 31 comment | 105 complexity | 96ee99f857fab1435933eb5064243212 MD5 | raw file
  1. ---
  2. format: Org
  3. categories: software qutebrowser
  4. toc: yes
  5. title: qutebrowser
  6. content: qutebrowser configuration file
  7. ...
  8. Qutebrowser is a ... This file comprises the configuration setup I am using.
  9. * Table of Contents :noexport:
  10. :PROPERTIES:
  11. :VISIBILITY: all
  12. :END:
  13. - [[#qutebrowserconf][qutebrowser.conf]]
  14. - [[#header][Header]]
  15. - [[#general][General]]
  16. - [[#code][Code]]
  17. - [[#ui][Ui]]
  18. - [[#code-1][Code]]
  19. - [[#network][Network]]
  20. - [[#code-2][Code]]
  21. - [[#completion][Completion]]
  22. - [[#code-3][Code]]
  23. - [[#input][Input]]
  24. - [[#code-4][Code]]
  25. - [[#tabs][Tabs]]
  26. - [[#code-5][Code]]
  27. - [[#storage][Storage]]
  28. - [[#code-6][Code]]
  29. - [[#content][Content]]
  30. - [[#code-7][Code]]
  31. - [[#hints][Hints]]
  32. - [[#code-8][Code]]
  33. - [[#search-engines][Search Engines]]
  34. - [[#code-9][Code]]
  35. - [[#aliases][Aliases]]
  36. - [[#code-10][Code]]
  37. - [[#colors][Colors]]
  38. - [[#code-11][Code]]
  39. - [[#fonts][Fonts]]
  40. - [[#code-12][Code]]
  41. - [[#keysconf][keys.conf]]
  42. - [[#header-1][Header]]
  43. - [[#code-13][Code]]
  44. - [[#normal][!Normal]]
  45. - [[#normal-1][Normal]]
  46. - [[#insert][Insert]]
  47. - [[#hint][Hint]]
  48. - [[#command][Command]]
  49. - [[#prompt][Prompt]]
  50. - [[#command-prompt][Command, prompt]]
  51. - [[#caret][Caret]]
  52. - [[#quickmarks][quickmarks]]
  53. - [[#references][References]]
  54. * qutebrowser.conf
  55. :PROPERTIES:
  56. :header-args: :tangle no
  57. :END:
  58. ** Header
  59. Configfile for qutebrowser.
  60. This configfile is parsed by python's configparser in extended
  61. interpolation mode. The format is very INI-like, so there are
  62. categories like [general] with "key = value"-pairs.
  63. Note that you shouldn't add your own comments, as this file is
  64. regenerated every time the config is saved.
  65. Interpolation looks like ${value} or ${section:value} and will be
  66. replaced by the respective value.
  67. Some settings will expand environment variables. Note that, since
  68. interpolation is run first, you will need to escape the $ char as
  69. described below.
  70. This is the default config, so if you want to remove anything from
  71. here (as opposed to change/add), for example a key binding, set it to
  72. an empty value.
  73. You will need to escape the following values:
  74. - at the start of the line (at the first position of the key) (\#)
  75. - $ in a value ($$)
  76. ** General
  77. General/miscellaneous options.
  78. ignore-case (IgnoreCase):
  79. Whether to find text on a page case-insensitively.
  80. true: Search case-insensitively
  81. false: Search case-sensitively
  82. smart: Search case-sensitively if there are capital chars
  83. Default: smart
  84. wrap-search (Bool):
  85. Whether to wrap finding text to the top when arriving at the end.
  86. Valid values: true, false
  87. Default: true
  88. startpage (List):
  89. The default page(s) to open at the start, separated by commas.
  90. Default: https://duckduckgo.com
  91. default-page (FuzzyUrl):
  92. The page to open if :open -t/-b/-w is used without URL. Use
  93. `about:blank` for a blank page.
  94. Default: ${startpage}
  95. auto-search (AutoSearch):
  96. Whether to start a search when something else than a URL is
  97. entered.
  98. naive: Use simple/naive check.
  99. dns: Use DNS requests (might be slow!).
  100. false: Never search automatically.
  101. Default: naive
  102. auto-save-config (Bool):
  103. Whether to save the config automatically on quit.
  104. Valid values: true, false
  105. Default: true
  106. auto-save-interval (Int):
  107. How often (in milliseconds) to auto-save config/cookies/etc.
  108. Default: 15000
  109. editor (ShellCommand):
  110. The editor (and arguments) to use for the `open-editor` command.
  111. The arguments get split like in a shell, so you can use `"` or `'`
  112. to quote them.
  113. `{}` gets replaced by the filename of the file to be edited.
  114. Default: gvim -f "{}"
  115. editor-encoding (Encoding):
  116. Encoding to use for editor.
  117. Default: utf-8
  118. private-browsing (Bool):
  119. Do not record visited pages in the history or store web page
  120. icons.
  121. Valid values: true, false
  122. Default: false
  123. developer-extras (Bool):
  124. Enable extra tools for Web developers.
  125. This needs to be enabled for `:inspector` to work and also adds an
  126. _Inspect_ entry to the context menu.
  127. Valid values: true, false
  128. Default: false
  129. print-element-backgrounds (Bool):
  130. Whether the background color and images are also drawn when the
  131. page is printed.
  132. Valid values: true, false
  133. Default: true
  134. xss-auditing (Bool):
  135. Whether load requests should be monitored for cross-site scripting
  136. attempts.
  137. Suspicious scripts will be blocked and reported in the inspector's
  138. JavaScript console. Enabling this feature might have an impact on
  139. performance.
  140. Valid values: true, false
  141. Default: false
  142. site-specific-quirks (Bool):
  143. Enable workarounds for broken sites.
  144. Valid values: true, false
  145. Default: true
  146. default-encoding (String):
  147. Default encoding to use for websites.
  148. The encoding must be a string describing an encoding such as
  149. _utf-8_, _iso-8859-1_, etc. If left empty a default value will be
  150. used.
  151. Default:
  152. new-instance-open-target (String):
  153. How to open links in an existing instance if a new one is
  154. launched.
  155. tab: Open a new tab in the existing window and activate the
  156. window.
  157. tab-bg: Open a new background tab in the existing window and
  158. activate the window.
  159. tab-silent: Open a new tab in the existing window without
  160. activating the window.
  161. tab-bg-silent: Open a new background tab in the existing
  162. window without activating the window.
  163. window: Open in a new window.
  164. Default: tab
  165. log-javascript-console (String):
  166. How to log javascript console messages.
  167. none: Don't log messages.
  168. debug: Log messages with debug level.
  169. info: Log messages with info level.
  170. Default: debug
  171. save-session (Bool):
  172. Whether to always save the open pages.
  173. Valid values: true, false
  174. Default: false
  175. session-default-name (SessionName):
  176. The name of the session to save by default, or empty for the last
  177. loaded session.
  178. Default:
  179. url-incdec-segments (FlagList):
  180. The URL segments where `:navigate increment/decrement` will search
  181. for a number.
  182. Valid values: host, path, query, anchor
  183. Default: path,query
  184. *** Code
  185. #+begin_src sh
  186. [general]
  187. ignore-case = smart
  188. startpage = https://lite.qwant.com/?setting=true&lang=fr_fr&safesearch=0&suggests=true
  189. default-page = ${startpage}
  190. auto-search = naive
  191. auto-save-config = true
  192. auto-save-interval = 15000
  193. editor = urxvt -e /home/csantos/Scripts/em "{}"
  194. editor-encoding = utf-8
  195. private-browsing = true
  196. developer-extras = false
  197. print-element-backgrounds = true
  198. xss-auditing = false
  199. site-specific-quirks = true
  200. default-encoding =
  201. new-instance-open-target = tab
  202. log-javascript-console = debug
  203. save-session = false
  204. session-default-name =
  205. url-incdec-segments = path,query
  206. #+end_src
  207. ** Ui
  208. General options related to the user interface.
  209. zoom-levels (PercList):
  210. The available zoom levels, separated by commas.
  211. Default:
  212. 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500%
  213. default-zoom (Perc):
  214. The default zoom level.
  215. Default: 100%
  216. downloads-position (VerticalPosition):
  217. Where to show the downloaded files.
  218. Valid values: top, bottom
  219. Default: top
  220. message-timeout (Int):
  221. Time (in ms) to show messages in the statusbar for.
  222. Default: 2000
  223. message-unfocused (Bool):
  224. Whether to show messages in unfocused windows.
  225. Valid values: true, false
  226. Default: false
  227. confirm-quit (ConfirmQuit):
  228. Whether to confirm quitting the application.
  229. always: Always show a confirmation.
  230. multiple-tabs: Show a confirmation if multiple tabs are
  231. opened.
  232. downloads: Show a confirmation if downloads are running
  233. never: Never show a confirmation.
  234. Default: never
  235. display-statusbar-messages (Bool):
  236. Whether to display javascript statusbar messages.
  237. Valid values: true, false
  238. Default: false
  239. zoom-text-only (Bool):
  240. Whether the zoom factor on a frame applies only to the text or to
  241. all content.
  242. Valid values: true, false
  243. Default: false
  244. frame-flattening (Bool):
  245. Whether to expand each subframe to its contents.
  246. This will flatten all the frames to become one scrollable page.
  247. Valid values: true, false
  248. Default: false
  249. user-stylesheet (UserStyleSheet):
  250. User stylesheet to use (absolute filename, filename relative to
  251. the config directory or CSS string). Will expand environment
  252. variables.
  253. Default: ::-webkit-scrollbar { width: 0px; height: 0px; }
  254. css-media-type (String):
  255. Set the CSS media type.
  256. Default:
  257. smooth-scrolling (Bool):
  258. Whether to enable smooth scrolling for webpages.
  259. Valid values: true, false
  260. Default: false
  261. remove-finished-downloads (Int):
  262. Number of milliseconds to wait before removing finished downloads.
  263. Will not be removed if value is -1.
  264. Default: -1
  265. hide-statusbar (Bool):
  266. Whether to hide the statusbar unless a message is shown.
  267. Valid values: true, false
  268. Default: false
  269. statusbar-padding (Padding):
  270. Padding for statusbar (top, bottom, left, right).
  271. Default: 1,1,0,0
  272. window-title-format (FormatString):
  273. The format to use for the window title. The following placeholders
  274. are defined:
  275. * `{perc}`: The percentage as a string like `[10%]`.
  276. * `{perc_raw}`: The raw percentage, e.g. `10`
  277. * `{title}`: The title of the current web page
  278. * `{title_sep}`: The string ` - ` if a title is set, empty
  279. otherwise.
  280. * `{id}`: The internal window ID of this window.
  281. * `{scroll_pos}`: The page scroll position.
  282. Default: {perc}{title}{title_sep}qutebrowser
  283. hide-mouse-cursor (Bool):
  284. Whether to hide the mouse cursor.
  285. Valid values: true, false
  286. Default: false
  287. modal-js-dialog (Bool):
  288. Use standard JavaScript modal dialog for alert() and confirm()
  289. Valid values: true, false
  290. Default: false
  291. hide-wayland-decoration (Bool):
  292. Hide the window decoration when using wayland (requires restart)
  293. Valid values: true, false
  294. Default: false
  295. keyhint-blacklist (List):
  296. Keychains that shouldn't be shown in the keyhint dialog
  297. Globs are supported, so ';*' will blacklist all keychainsstarting
  298. with ';'. Use '*' to disable keyhints
  299. Default:
  300. *** Code
  301. #+begin_src sh
  302. [ui]
  303. zoom-levels = 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500%
  304. default-zoom = 175%
  305. downloads-position = top
  306. status-position = bottom
  307. message-timeout = 2000
  308. message-unfocused = false
  309. confirm-quit = never
  310. zoom-text-only = false
  311. frame-flattening = false
  312. user-stylesheet = ::-webkit-scrollbar { width: 0px; height: 0px; }
  313. css-media-type =
  314. smooth-scrolling = false
  315. remove-finished-downloads = 5000
  316. hide-statusbar = true
  317. statusbar-padding = 1,1,0,0
  318. window-title-format = {perc}{title}{title_sep}qutebrowser
  319. hide-mouse-cursor = false
  320. modal-js-dialog = false
  321. hide-wayland-decoration = false
  322. keyhint-blacklist =
  323. #+end_src
  324. ** Network
  325. Settings related to the network.
  326. do-not-track (Bool):
  327. Value to send in the `DNT` header.
  328. Valid values: true, false
  329. Default: true
  330. accept-language (String):
  331. Value to send in the `accept-language` header.
  332. Default: en-US,en
  333. referer-header (String):
  334. Send the Referer header
  335. always: Always send.
  336. never: Never send; this is not recommended, as some sites may
  337. break.
  338. same-domain: Only send for the same domain. This will still
  339. protect your privacy, but shouldn't break any sites.
  340. Default: same-domain
  341. user-agent (UserAgent):
  342. User agent to send. Empty to send the default.
  343. Default:
  344. proxy (Proxy):
  345. The proxy to use.
  346. In addition to the listed values, you can use a `socks://...` or
  347. `http://...` URL.
  348. system: Use the system wide proxy.
  349. none: Don't use any proxy
  350. Default: system
  351. proxy-dns-requests (Bool):
  352. Whether to send DNS requests over the configured proxy.
  353. Valid values: true, false
  354. Default: true
  355. ssl-strict (BoolAsk):
  356. Whether to validate SSL handshakes.
  357. Valid values: true, false, ask
  358. Default: ask
  359. dns-prefetch (Bool):
  360. Whether to try to pre-fetch DNS entries to speed up browsing.
  361. Valid values: true, false
  362. Default: true
  363. custom-headers (HeaderDict):
  364. Set custom headers for qutebrowser HTTP requests.
  365. Default:
  366. *** Code
  367. #+begin_src sh
  368. [network]
  369. do-not-track = true
  370. accept-language = en-US,en
  371. referer-header = same-domain
  372. user-agent =
  373. proxy = system
  374. proxy-dns-requests = true
  375. ssl-strict = ask
  376. dns-prefetch = true
  377. custom-headers =
  378. #+end_src
  379. ** Completion
  380. Options related to completion and command history.
  381. auto-open (Bool):
  382. Automatically open completion when typing.
  383. Valid values: true, false
  384. Default: true
  385. download-path-suggestion (String):
  386. What to display in the download filename input.
  387. path: Show only the download path.
  388. filename: Show only download filename.
  389. both: Show download path and filename.
  390. Default: path
  391. timestamp-format (TimestampTemplate):
  392. How to format timestamps (e.g. for history)
  393. Default: %Y-%m-%d
  394. show (Bool):
  395. Whether to show the autocompletion window.
  396. Valid values: true, false
  397. Default: true
  398. height (PercOrInt):
  399. The height of the completion, in px or as percentage of the
  400. window.
  401. Default: 50%
  402. cmd-history-max-items (Int):
  403. How many commands to save in the command history.
  404. 0: no history / -1: unlimited
  405. Default: 100
  406. web-history-max-items (Int):
  407. How many URLs to show in the web history.
  408. 0: no history / -1: unlimited
  409. Default: 1000
  410. quick-complete (Bool):
  411. Whether to move on to the next part when there's only one possible
  412. completion left.
  413. Valid values: true, false
  414. Default: true
  415. shrink (Bool):
  416. Whether to shrink the completion to be smaller than the configured
  417. size if there are no scrollbars.
  418. Valid values: true, false
  419. Default: false
  420. scrollbar-width (Int):
  421. Width of the scrollbar in the completion window (in px).
  422. Default: 12
  423. scrollbar-padding (Int):
  424. Padding of scrollbar handle in completion window (in px).
  425. Default: 2
  426. *** Code
  427. #+begin_src sh
  428. [completion]
  429. auto-open = true
  430. download-path-suggestion = path
  431. timestamp-format = %Y-%m-%d
  432. show = true
  433. height = 50%
  434. cmd-history-max-items = 100
  435. web-history-max-items = 1000
  436. quick-complete = true
  437. shrink = false
  438. scrollbar-width = 12
  439. scrollbar-padding = 2
  440. #+end_src
  441. ** Input
  442. Options related to input modes.
  443. timeout (Int):
  444. Timeout for ambiguous key bindings.
  445. If the current input forms both a complete match and a partial
  446. match, the complete match will be executed after this time.
  447. Default: 500
  448. partial-timeout (Int):
  449. Timeout for partially typed key bindings.
  450. If the current input forms only partial matches, the keystring
  451. will be cleared after this time.
  452. Default: 5000
  453. insert-mode-on-plugins (Bool):
  454. Whether to switch to insert mode when clicking flash and other
  455. plugins.
  456. Valid values: true, false
  457. Default: false
  458. auto-leave-insert-mode (Bool):
  459. Whether to leave insert mode if a non-editable element is clicked.
  460. Valid values: true, false
  461. Default: true
  462. auto-insert-mode (Bool):
  463. Whether to automatically enter insert mode if an editable element
  464. is focused after page load.
  465. Valid values: true, false
  466. Default: false
  467. forward-unbound-keys (String):
  468. Whether to forward unbound keys to the webview in normal mode.
  469. all: Forward all unbound keys.
  470. auto: Forward unbound non-alphanumeric keys.
  471. none: Don't forward any keys.
  472. Default: auto
  473. spatial-navigation (Bool):
  474. Enables or disables the Spatial Navigation feature.
  475. Spatial navigation consists in the ability to navigate between
  476. focusable elements in a Web page, such as hyperlinks and form
  477. controls, by using Left, Right, Up and Down arrow keys. For
  478. example, if a user presses the Right key, heuristics determine
  479. whether there is an element he might be trying to reach towards
  480. the right and which element he probably wants.
  481. Valid values: true, false
  482. Default: false
  483. links-included-in-focus-chain (Bool):
  484. Whether hyperlinks should be included in the keyboard focus chain.
  485. Valid values: true, false
  486. Default: true
  487. rocker-gestures (Bool):
  488. Whether to enable Opera-like mouse rocker gestures. This disables
  489. the context menu.
  490. Valid values: true, false
  491. Default: false
  492. mouse-zoom-divider (Int):
  493. How much to divide the mouse wheel movements to translate them
  494. into zoom increments.
  495. Default: 512
  496. *** Code
  497. #+begin_src sh
  498. [input]
  499. timeout = 500
  500. partial-timeout = 1000
  501. insert-mode-on-plugins = false
  502. auto-leave-insert-mode = true
  503. auto-insert-mode = false
  504. forward-unbound-keys = auto
  505. spatial-navigation = false
  506. links-included-in-focus-chain = true
  507. rocker-gestures = false
  508. mouse-zoom-divider = 512
  509. #+end_src
  510. ** Tabs
  511. Configuration of the tab bar.
  512. background-tabs (Bool):
  513. Whether to open new tabs (middleclick/ctrl+click) in background.
  514. Valid values: true, false
  515. Default: false
  516. select-on-remove (SelectOnRemove):
  517. Which tab to select when the focused tab is removed.
  518. left: Select the tab on the left.
  519. right: Select the tab on the right.
  520. previous: Select the previously selected tab.
  521. Default: right
  522. new-tab-position (NewTabPosition):
  523. How new tabs are positioned.
  524. left: On the left of the current tab.
  525. right: On the right of the current tab.
  526. first: At the left end.
  527. last: At the right end.
  528. Default: right
  529. new-tab-position-explicit (NewTabPosition):
  530. How new tabs opened explicitly are positioned.
  531. left: On the left of the current tab.
  532. right: On the right of the current tab.
  533. first: At the left end.
  534. last: At the right end.
  535. Default: last
  536. last-close (String):
  537. Behavior when the last tab is closed.
  538. ignore: Don't do anything.
  539. blank: Load a blank page.
  540. startpage: Load the start page.
  541. default-page: Load the default page.
  542. close: Close the window.
  543. Default: ignore
  544. show (String):
  545. When to show the tab bar
  546. always: Always show the tab bar.
  547. never: Always hide the tab bar.
  548. multiple: Hide the tab bar if only one tab is open.
  549. switching: Show the tab bar when switching tabs.
  550. Default: always
  551. show-switching-delay (Int):
  552. Time to show the tab bar before hiding it when tabs->show is set
  553. to 'switching'.
  554. Default: 800
  555. wrap (Bool):
  556. Whether to wrap when changing tabs.
  557. Valid values: true, false
  558. Default: true
  559. movable (Bool):
  560. Whether tabs should be movable.
  561. Valid values: true, false
  562. Default: true
  563. close-mouse-button (String):
  564. On which mouse button to close tabs.
  565. right: Close tabs on right-click.
  566. middle: Close tabs on middle-click.
  567. none: Don't close tabs using the mouse.
  568. Default: middle
  569. position (Position):
  570. The position of the tab bar.
  571. Valid values: top, bottom, left, right
  572. Default: top
  573. show-favicons (Bool):
  574. Whether to show favicons in the tab bar.
  575. Valid values: true, false
  576. Default: true
  577. width (PercOrInt):
  578. The width of the tab bar if it's vertical, in px or as percentage
  579. of the window.
  580. Default: 20%
  581. indicator-width (Int):
  582. Width of the progress indicator (0 to disable).
  583. Default: 3
  584. tabs-are-windows (Bool):
  585. Whether to open windows instead of tabs.
  586. Valid values: true, false
  587. Default: false
  588. title-format (FormatString):
  589. The format to use for the tab title. The following placeholders
  590. are defined:
  591. * `{perc}`: The percentage as a string like `[10%]`.
  592. * `{perc_raw}`: The raw percentage, e.g. `10`
  593. * `{title}`: The title of the current web page
  594. * `{title_sep}`: The string ` - ` if a title is set, empty
  595. otherwise.
  596. * `{index}`: The index of this tab.
  597. * `{id}`: The internal tab ID of this tab.
  598. * `{scroll_pos}`: The page scroll position.
  599. Default: {index}: {title}
  600. title-alignment (TextAlignment):
  601. Alignment of the text inside of tabs
  602. Valid values: left, right, center
  603. Default: left
  604. mousewheel-tab-switching (Bool):
  605. Switch between tabs using the mouse wheel.
  606. Valid values: true, false
  607. Default: true
  608. padding (Padding):
  609. Padding for tabs (top, bottom, left, right).
  610. Default: 0,0,5,5
  611. indicator-padding (Padding):
  612. Padding for indicators (top, bottom, left, right).
  613. Default: 2,2,0,4
  614. *** Code
  615. #+begin_src sh
  616. [tabs]
  617. background-tabs = false
  618. select-on-remove = right
  619. new-tab-position = right
  620. new-tab-position-explicit = last
  621. last-close = blank
  622. show = never
  623. show-switching-delay = 800
  624. wrap = true
  625. movable = true
  626. close-mouse-button = middle
  627. position = top
  628. show-favicons = true
  629. width = 20%
  630. indicator-width = 3
  631. tabs-are-windows = false
  632. title-format = {index}: {title}
  633. title-alignment = left
  634. mousewheel-tab-switching = true
  635. padding = 0,0,5,5
  636. indicator-padding = 2,2,0,4
  637. #+end_src
  638. ** Storage
  639. Settings related to cache and storage.
  640. download-directory (Directory):
  641. The directory to save downloads to. An empty value selects a
  642. sensible os-specific default. Will expand environment variables.
  643. Default:
  644. prompt-download-directory (Bool):
  645. Whether to prompt the user for the download location.
  646. If set to false, 'download-directory' will be used.
  647. Valid values: true, false
  648. Default: true
  649. remember-download-directory (Bool):
  650. Whether to remember the last used download directory.
  651. Valid values: true, false
  652. Default: true
  653. maximum-pages-in-cache (Int):
  654. The maximum number of pages to hold in the global memory page
  655. cache.
  656. The Page Cache allows for a nicer user experience when navigating
  657. forth or back to pages in the forward/back history, by pausing and
  658. resuming up to _n_ pages.
  659. For more information about the feature, please refer to:
  660. http://webkit.org/blog/427/webkit-page-cache-i-the-basics/
  661. Default:
  662. object-cache-capacities (WebKitBytesList):
  663. The capacities for the global memory cache for dead objects such
  664. as stylesheets or scripts. Syntax: cacheMinDeadCapacity,
  665. cacheMaxDead, totalCapacity.
  666. The _cacheMinDeadCapacity_ specifies the minimum number of bytes
  667. that dead objects should consume when the cache is under pressure.
  668. _cacheMaxDead_ is the maximum number of bytes that dead objects
  669. should consume when the cache is *not* under pressure.
  670. _totalCapacity_ specifies the maximum number of bytes that the
  671. cache should consume *overall*.
  672. Default:
  673. offline-storage-default-quota (WebKitBytes):
  674. Default quota for new offline storage databases.
  675. Default:
  676. offline-web-application-cache-quota (WebKitBytes):
  677. Quota for the offline web application cache.
  678. Default:
  679. offline-storage-database (Bool):
  680. Whether support for the HTML 5 offline storage feature is enabled.
  681. Valid values: true, false
  682. Default: true
  683. offline-web-application-storage (Bool):
  684. Whether support for the HTML 5 web application cache feature is
  685. enabled.
  686. An application cache acts like an HTTP cache in some sense. For
  687. documents that use the application cache via JavaScript, the
  688. loader engine will first ask the application cache for the
  689. contents, before hitting the network.
  690. The feature is described in details at:
  691. http://dev.w3.org/html5/spec/Overview.htmlappcache
  692. Valid values: true, false
  693. Default: true
  694. local-storage (Bool):
  695. Whether support for the HTML 5 local storage feature is enabled.
  696. Valid values: true, false
  697. Default: true
  698. cache-size (Int):
  699. Size of the HTTP network cache.
  700. Default: 52428800
  701. *** Code
  702. #+begin_src sh
  703. [storage]
  704. download-directory = /tmp
  705. prompt-download-directory = false
  706. remember-download-directory = true
  707. maximum-pages-in-cache =
  708. object-cache-capacities =
  709. offline-storage-default-quota =
  710. offline-web-application-cache-quota =
  711. offline-storage-database = true
  712. offline-web-application-storage = true
  713. local-storage = true
  714. cache-size = 52428800
  715. #+end_src
  716. ** Content
  717. Loaded plugins/scripts and allowed actions.
  718. allow-images (Bool):
  719. Whether images are automatically loaded in web pages.
  720. Valid values: true, false
  721. Default: true
  722. allow-javascript (Bool):
  723. Enables or disables the running of JavaScript programs.
  724. Valid values: true, false
  725. Default: true
  726. allow-plugins (Bool):
  727. Enables or disables plugins in Web pages.
  728. Qt plugins with a mimetype such as "application/x-qt-plugin" are
  729. not affected by this setting.
  730. Valid values: true, false
  731. Default: false
  732. webgl (Bool):
  733. Enables or disables WebGL.
  734. Valid values: true, false
  735. Default: false
  736. css-regions (Bool):
  737. Enable or disable support for CSS regions.
  738. Valid values: true, false
  739. Default: true
  740. hyperlink-auditing (Bool):
  741. Enable or disable hyperlink auditing (<a ping>).
  742. Valid values: true, false
  743. Default: false
  744. geolocation (BoolAsk):
  745. Allow websites to request geolocations.
  746. Valid values: true, false, ask
  747. Default: ask
  748. notifications (BoolAsk):
  749. Allow websites to show notifications.
  750. Valid values: true, false, ask
  751. Default: ask
  752. javascript-can-open-windows (Bool):
  753. Whether JavaScript programs can open new windows.
  754. Valid values: true, false
  755. Default: false
  756. javascript-can-close-windows (Bool):
  757. Whether JavaScript programs can close windows.
  758. Valid values: true, false
  759. Default: false
  760. javascript-can-access-clipboard (Bool):
  761. Whether JavaScript programs can read or write to the clipboard.
  762. Valid values: true, false
  763. Default: false
  764. ignore-javascript-prompt (Bool):
  765. Whether all javascript prompts should be ignored.
  766. Valid values: true, false
  767. Default: false
  768. ignore-javascript-alert (Bool):
  769. Whether all javascript alerts should be ignored.
  770. Valid values: true, false
  771. Default: false
  772. local-content-can-access-remote-urls (Bool):
  773. Whether locally loaded documents are allowed to access remote
  774. urls.
  775. Valid values: true, false
  776. Default: false
  777. local-content-can-access-file-urls (Bool):
  778. Whether locally loaded documents are allowed to access other local
  779. urls.
  780. Valid values: true, false
  781. Default: true
  782. cookies-accept (String):
  783. Control which cookies to accept.
  784. all: Accept all cookies.
  785. no-3rdparty: Accept cookies from the same origin only.
  786. no-unknown-3rdparty: Accept cookies from the same origin only,
  787. unless a cookie is already set for the domain.
  788. never: Don't accept cookies at all.
  789. Default: no-3rdparty
  790. cookies-store (Bool):
  791. Whether to store cookies.
  792. Valid values: true, false
  793. Default: true
  794. host-block-lists (UrlList):
  795. List of URLs of lists which contain hosts to block.
  796. The file can be in one of the following formats:
  797. - An '/etc/hosts'-like file
  798. - One host per line
  799. - A zip-file of any of the above, with either only one file, or a
  800. file named 'hosts' (with any extension).
  801. Default:
  802. http://www.malwaredomainlist.com/hostslist/hosts.txt,http://someonewhocares.org/hosts/hosts,http://winhelp2002.mvps.org/hosts.zip,http://malwaredomains.lehigh.edu/files/justdomains.zip,http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext
  803. host-blocking-enabled (Bool):
  804. Whether host blocking is enabled.
  805. Valid values: true, false
  806. Default: true
  807. host-blocking-whitelist (List):
  808. List of domains that should always be loaded, despite being
  809. ad-blocked.
  810. Domains may contain * and ? wildcards and are otherwise required
  811. to exactly match the requested domain.
  812. Local domains are always exempt from hostblocking.
  813. Default: piwik.org
  814. enable-pdfjs (Bool):
  815. Enable pdf.js to view PDF files in the browser.
  816. Note that the files can still be downloaded by clicking the
  817. download button in the pdf.js viewer.
  818. Valid values: true, false
  819. Default: false
  820. *** Code
  821. #+begin_src sh
  822. [content]
  823. allow-images = true
  824. allow-javascript = true
  825. allow-plugins = true
  826. webgl = true
  827. css-regions = true
  828. hyperlink-auditing = false
  829. geolocation = false
  830. notifications = ask
  831. javascript-can-open-windows = false
  832. javascript-can-close-windows = false
  833. javascript-can-access-clipboard = false
  834. ignore-javascript-prompt = false
  835. ignore-javascript-alert = false
  836. local-content-can-access-remote-urls = false
  837. local-content-can-access-file-urls = true
  838. cookies-accept = no-3rdparty
  839. cookies-store = false
  840. host-block-lists = http://www.malwaredomainlist.com/hostslist/hosts.txt,http://someonewhocares.org/hosts/hosts,http://winhelp2002.mvps.org/hosts.zip,http://malwaredomains.lehigh.edu/files/justdomains.zip,http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext,/etc/hosts,/etc/hosts.block
  841. host-blocking-enabled = false
  842. host-blocking-whitelist = piwik.org,https://twitter.com/?lang=es,www.xilinx.com
  843. enable-pdfjs = false
  844. #+end_src
  845. ** Hints
  846. Hinting settings.
  847. border (String):
  848. CSS border value for hints.
  849. Default: 1px solid E3BE23
  850. opacity (Float):
  851. Opacity for hints.
  852. Default: 0.7
  853. mode (String):
  854. Mode to use for hints.
  855. number: Use numeric hints.
  856. letter: Use the chars in the hints -> chars setting.
  857. word: Use hints words based on the html elements and the extra
  858. words.
  859. Default: letter
  860. chars (UniqueCharString):
  861. Chars used for hint strings.
  862. Default: asdfghjkl
  863. min-chars (Int):
  864. Minimum number of chars used for hint strings.
  865. Default: 1
  866. scatter (Bool):
  867. Whether to scatter hint key chains (like Vimium) or not (like
  868. dwb). Ignored for number hints.
  869. Valid values: true, false
  870. Default: true
  871. uppercase (Bool):
  872. Make chars in hint strings uppercase.
  873. Valid values: true, false
  874. Default: false
  875. dictionary (File):
  876. The dictionary file to be used by the word hints.
  877. Default: /usr/share/dict/words
  878. auto-follow (Bool):
  879. Follow a hint immediately when the hint text is completely
  880. matched.
  881. Valid values: true, false
  882. Default: true
  883. auto-follow-timeout (Int):
  884. A timeout to inhibit normal-mode key bindings after a
  885. successfulauto-follow.
  886. Default: 0
  887. next-regexes (RegexList):
  888. A comma-separated list of regexes to use for 'next' links.
  889. Default:
  890. \bnext\b,\bmore\b,\bnewer\b,\b[>]\b,\b(>>|»)\b,\bcontinue\b
  891. prev-regexes (RegexList):
  892. A comma-separated list of regexes to use for 'prev' links.
  893. Default: \bprev(ious)?\b,\bback\b,\bolder\b,\b[<]\b,\b(<<|«)\b
  894. find-implementation (String):
  895. Which implementation to use to find elements to hint.
  896. javascript: Better but slower
  897. python: Slightly worse but faster
  898. Default: javascript
  899. *** Code
  900. #+begin_src sh
  901. [hints]
  902. border = 1px solid #E3BE23
  903. opacity = 1
  904. mode = letter
  905. chars = dfghjklnb
  906. min-chars = 1
  907. scatter = true
  908. uppercase = false
  909. dictionary = /usr/share/dict/words
  910. auto-follow = true
  911. auto-follow-timeout = 0
  912. next-regexes = \bnext\b,\bmore\b,\bnewer\b,\b[>]\b,\b(>>|»)\b,\bcontinue\b
  913. prev-regexes = \bprev(ious)?\b,\bback\b,\bolder\b,\b[<]\b,\b(<<|«)\b
  914. find-implementation = javascript
  915. #+end_src
  916. ** Search Engines
  917. Definitions of search engines which can be used via the address bar.
  918. The searchengine named `DEFAULT` is used when `general -> auto-search`
  919. is true and something else than a URL was entered to be opened. Other
  920. search engines can be used by prepending the search engine name to the
  921. search term, e.g. `:open google qutebrowser`. The string `{}` will be
  922. replaced by the search term, use `{{` and `}}` for literal `{`/`}`
  923. signs.
  924. *** Code
  925. #+begin_src sh
  926. [searchengines]
  927. DEFAULT = https://lite.qwant.com/?lang=fr_fr&safesearch=0&suggests=true&q={}&t=web
  928. duck = https://duckduckgo.com/?q={}
  929. archwiki = https://wiki.archlinux.org/?search={}
  930. aw = ${archwiki}
  931. google = https://www.google.com/search?hl=en&q={}
  932. g = ${google}
  933. #+end_src
  934. ** Aliases
  935. Aliases for commands.
  936. By default, no aliases are defined. Example which adds a new command
  937. `:qtb` to open qutebrowsers website:
  938. `qtb = open http://www.qutebrowser.org/`
  939. *** Code
  940. #+begin_src sh
  941. [aliases]
  942. #+end_src
  943. ** Colors
  944. Colors used in the UI.
  945. A value can be in one of the following format:
  946. * `RGB`/`RRGGBB`/`RRRGGGBBB`/`RRRRGGGGBBBB`
  947. * A SVG color name as specified in http://www.w3.org/TR/SVG/types.htmlColorKeywords[the W3C specification].
  948. * transparent (no color)
  949. * `rgb(r, g, b)` / `rgba(r, g, b, a)` (values 0-255 or percentages)
  950. * `hsv(h, s, v)` / `hsva(h, s, v, a)` (values 0-255, hue 0-359)
  951. * A gradient as explained in http://doc.qt.io/qt-5/stylesheet-reference.htmllist-of-property-types[the Qt documentation] under ``Gradient''.
  952. A *.system value determines the color system to use for color
  953. interpolation between similarly-named *.start and *.stop entries,
  954. regardless of how they are defined in the options. Valid values are
  955. 'rgb', 'hsv', and 'hsl'.
  956. The `hints.*` values are a special case as they're real CSS colors, not Qt-CSS colors. There, for a gradient, you need to use `-webkit-gradient`, see https://www.webkit.org/blog/175/introducing-css-gradients/[the WebKit documentation].
  957. completion.fg (QtColor):
  958. Text color of the completion widget.
  959. Default: white
  960. completion.bg (QssColor):
  961. Background color of the completion widget.
  962. Default: 333333
  963. completion.alternate-bg (QssColor):
  964. Alternating background color of the completion widget.
  965. Default: 444444
  966. completion.category.fg (QtColor):
  967. Foreground color of completion widget category headers.
  968. Default: white
  969. completion.category.bg (QssColor):
  970. Background color of the completion widget category headers.
  971. Default: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 888888,
  972. stop:1 505050)
  973. completion.category.border.top (QssColor):
  974. Top border color of the completion widget category headers.
  975. Default: black
  976. completion.category.border.bottom (QssColor):
  977. Bottom border color of the completion widget category headers.
  978. Default: ${completion.category.border.top}
  979. completion.item.selected.fg (QtColor):
  980. Foreground color of the selected completion item.
  981. Default: black
  982. completion.item.selected.bg (QssColor):
  983. Background color of the selected completion item.
  984. Default: e8c000
  985. completion.item.selected.border.top (QssColor):
  986. Top border color of the completion widget category headers.
  987. Default: bbbb00
  988. completion.item.selected.border.bottom (QssColor):
  989. Bottom border color of the selected completion item.
  990. Default: ${completion.item.selected.border.top}
  991. completion.match.fg (QssColor):
  992. Foreground color of the matched text in the completion.
  993. Default: ff4444
  994. completion.scrollbar.fg (QssColor):
  995. Color of the scrollbar handle in completion view.
  996. Default: ${completion.fg}
  997. completion.scrollbar.bg (QssColor):
  998. Color of the scrollbar in completion view
  999. Default: ${completion.bg}
  1000. statusbar.fg (QssColor):
  1001. Foreground color of the statusbar.
  1002. Default: white
  1003. statusbar.bg (QssColor):
  1004. Background color of the statusbar.
  1005. Default: black
  1006. statusbar.fg.error (QssColor):
  1007. Foreground color of the statusbar if there was an error.
  1008. Default: ${statusbar.fg}
  1009. statusbar.bg.error (QssColor):
  1010. Background color of the statusbar if there was an error.
  1011. Default: red
  1012. statusbar.fg.warning (QssColor):
  1013. Foreground color of the statusbar if there is a warning.
  1014. Default: ${statusbar.fg}
  1015. statusbar.bg.warning (QssColor):
  1016. Background color of the statusbar if there is a warning.
  1017. Default: darkorange
  1018. statusbar.fg.prompt (QssColor):
  1019. Foreground color of the statusbar if there is a prompt.
  1020. Default: ${statusbar.fg}
  1021. statusbar.bg.prompt (QssColor):
  1022. Background color of the statusbar if there is a prompt.
  1023. Default: darkblue
  1024. statusbar.fg.insert (QssColor):
  1025. Foreground color of the statusbar in insert mode.
  1026. Default: ${statusbar.fg}
  1027. statusbar.bg.insert (QssColor):
  1028. Background color of the statusbar in insert mode.
  1029. Default: darkgreen
  1030. statusbar.fg.command (QssColor):
  1031. Foreground color of the statusbar in command mode.
  1032. Default: ${statusbar.fg}
  1033. statusbar.bg.command (QssColor):
  1034. Background color of the statusbar in command mode.
  1035. Default: ${statusbar.bg}
  1036. statusbar.fg.caret (QssColor):
  1037. Foreground color of the statusbar in caret mode.
  1038. Default: ${statusbar.fg}
  1039. statusbar.bg.caret (QssColor):
  1040. Background color of the statusbar in caret mode.
  1041. Default: purple
  1042. statusbar.fg.caret-selection (QssColor):
  1043. Foreground color of the statusbar in caret mode with a selection
  1044. Default: ${statusbar.fg}
  1045. statusbar.bg.caret-selection (QssColor):
  1046. Background color of the statusbar in caret mode with a selection
  1047. Default: a12dff
  1048. statusbar.progress.bg (QssColor):
  1049. Background color of the progress bar.
  1050. Default: white
  1051. statusbar.url.fg (QssColor):
  1052. Default foreground color of the URL in the statusbar.
  1053. Default: ${statusbar.fg}
  1054. statusbar.url.fg.success (QssColor):
  1055. Foreground color of the URL in the statusbar on successful load
  1056. (http).
  1057. Default: white
  1058. statusbar.url.fg.success.https (QssColor):
  1059. Foreground color of the URL in the statusbar on successful load
  1060. (https).
  1061. Default: lime
  1062. statusbar.url.fg.error (QssColor):
  1063. Foreground color of the URL in the statusbar on error.
  1064. Default: orange
  1065. statusbar.url.fg.warn (QssColor):
  1066. Foreground color of the URL in the statusbar when there's a
  1067. warning.
  1068. Default: yellow
  1069. statusbar.url.fg.hover (QssColor):
  1070. Foreground color of the URL in the statusbar for hovered links.
  1071. Default: aqua
  1072. tabs.fg.odd (QtColor):
  1073. Foreground color of unselected odd tabs.
  1074. Default: white
  1075. tabs.bg.odd (QtColor):
  1076. Background color of unselected odd tabs.
  1077. Default: grey
  1078. tabs.fg.even (QtColor):
  1079. Foreground color of unselected even tabs.
  1080. Default: white
  1081. tabs.bg.even (QtColor):
  1082. Background color of unselected even tabs.
  1083. Default: darkgrey
  1084. tabs.fg.selected.odd (QtColor):
  1085. Foreground color of selected odd tabs.
  1086. Default: white
  1087. tabs.bg.selected.odd (QtColor):
  1088. Background color of selected odd tabs.
  1089. Default: black
  1090. tabs.fg.selected.even (QtColor):
  1091. Foreground color of selected even tabs.
  1092. Default: ${tabs.fg.selected.odd}
  1093. tabs.bg.selected.even (QtColor):
  1094. Background color of selected even tabs.
  1095. Default: ${tabs.bg.selected.odd}
  1096. tabs.bg.bar (QtColor):
  1097. Background color of the tab bar.
  1098. Default: 555555
  1099. tabs.indicator.start (QtColor):
  1100. Color gradient start for the tab indicator.
  1101. Default: 0000aa
  1102. tabs.indicator.stop (QtColor):
  1103. Color gradient end for the tab indicator.
  1104. Default: 00aa00
  1105. tabs.indicator.error (QtColor):
  1106. Color for the tab indicator on errors..
  1107. Default: ff0000
  1108. tabs.indicator.system (ColorSystem):
  1109. Color gradient interpolation system for the tab indicator.
  1110. rgb: Interpolate in the RGB color system.
  1111. hsv: Interpolate in the HSV color system.
  1112. hsl: Interpolate in the HSL color system.
  1113. none: Don't show a gradient.
  1114. Default: rgb
  1115. hints.fg (CssColor):
  1116. Font color for hints.
  1117. Default: black
  1118. hints.bg (CssColor):
  1119. Background color for hints.
  1120. Default: -webkit-gradient(linear, left top, left bottom,
  1121. color-stop(0%,FFF785), color-stop(100%,FFC542))
  1122. hints.fg.match (CssColor):
  1123. Font color for the matched part of hints.
  1124. Default: green
  1125. downloads.bg.bar (QssColor):
  1126. Background color for the download bar.
  1127. Default: black
  1128. downloads.fg.start (QtColor):
  1129. Color gradient start for download text.
  1130. Default: white
  1131. downloads.bg.start (QtColor):
  1132. Color gradient start for download backgrounds.
  1133. Default: 0000aa
  1134. downloads.fg.stop (QtColor):
  1135. Color gradient end for download text.
  1136. Default: ${downloads.fg.start}
  1137. downloads.bg.stop (QtColor):
  1138. Color gradient stop for download backgrounds.
  1139. Default: 00aa00
  1140. downloads.fg.system (ColorSystem):
  1141. Color gradient interpolation system for download text.
  1142. rgb: Interpolate in the RGB color system.
  1143. hsv: Interpolate in the HSV color system.
  1144. hsl: Interpolate in the HSL color system.
  1145. none: Don't show a gradient.
  1146. Default: rgb
  1147. downloads.bg.system (ColorSystem):
  1148. Color gradient interpolation system for download backgrounds.
  1149. rgb: Interpolate in the RGB color system.
  1150. hsv: Interpolate in the HSV color system.
  1151. hsl: Interpolate in the HSL color system.
  1152. none: Don't show a gradient.
  1153. Default: rgb
  1154. downloads.fg.error (QtColor):
  1155. Foreground color for downloads with errors.
  1156. Default: white
  1157. downloads.bg.error (QtColor):
  1158. Background color for downloads with errors.
  1159. Default: red
  1160. webpage.bg (QtColor):
  1161. Background color for webpages if unset (or empty to use the
  1162. theme's color)
  1163. Default: white
  1164. keyhint.fg (QssColor):
  1165. Text color for the keyhint widget.
  1166. Default: FFFFFF
  1167. keyhint.fg.suffix (CssColor):
  1168. Highlight color for keys to complete the current keychain
  1169. Default: FFFF00
  1170. keyhint.bg (QssColor):
  1171. Background color of the keyhint widget.
  1172. Default: rgba(0, 0, 0, 80%)
  1173. *** Code
  1174. #+begin_src sh
  1175. [colors]
  1176. completion.fg = white
  1177. completion.bg = #333333
  1178. completion.alternate-bg = #444444
  1179. completion.category.fg = white
  1180. completion.category.bg = qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #888888, stop:1 #505050)
  1181. completion.category.border.top = black
  1182. completion.category.border.bottom = ${completion.category.border.top}
  1183. completion.item.selected.fg = black
  1184. completion.item.selected.bg = #e8c000
  1185. completion.item.selected.border.top = #bbbb00
  1186. completion.item.selected.border.bottom = ${completion.item.selected.border.top}
  1187. completion.match.fg = #ff4444
  1188. completion.scrollbar.fg = ${completion.fg}
  1189. completion.scrollbar.bg = ${completion.bg}
  1190. statusbar.fg = white
  1191. statusbar.bg = black
  1192. statusbar.fg.error = ${statusbar.fg}
  1193. statusbar.bg.error = red
  1194. statusbar.fg.warning = ${statusbar.fg}
  1195. statusbar.bg.warning = darkorange
  1196. statusbar.fg.prompt = ${statusbar.fg}
  1197. statusbar.bg.prompt = darkblue
  1198. statusbar.fg.insert = ${statusbar.fg}
  1199. statusbar.bg.insert = darkgreen
  1200. statusbar.fg.command = ${statusbar.fg}
  1201. statusbar.bg.command = ${statusbar.bg}
  1202. statusbar.fg.caret = ${statusbar.fg}
  1203. statusbar.bg.caret = purple
  1204. statusbar.fg.caret-selection = ${statusbar.fg}
  1205. statusbar.bg.caret-selection = #a12dff
  1206. statusbar.progress.bg = white
  1207. statusbar.url.fg = ${statusbar.fg}
  1208. statusbar.url.fg.success = white
  1209. statusbar.url.fg.success.https = lime
  1210. statusbar.url.fg.error = orange
  1211. statusbar.url.fg.warn = yellow
  1212. statusbar.url.fg.hover = aqua
  1213. tabs.fg.odd = white
  1214. tabs.bg.odd = grey
  1215. tabs.fg.even = white
  1216. tabs.bg.even = darkgrey
  1217. tabs.fg.selected.odd = white
  1218. tabs.bg.selected.odd = black
  1219. tabs.fg.selected.even = ${tabs.fg.selected.odd}
  1220. tabs.bg.selected.even = ${tabs.bg.selected.odd}
  1221. tabs.bg.bar = #555555
  1222. tabs.indicator.start = #0000aa
  1223. tabs.indicator.stop = #00aa00
  1224. tabs.indicator.error = #ff0000
  1225. tabs.indicator.system = rgb
  1226. hints.fg = black
  1227. hints.bg = -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFF785), color-stop(100%,#FFC542))
  1228. hints.fg.match = green
  1229. downloads.bg.bar = black
  1230. downloads.fg.start = white
  1231. downloads.bg.start = #0000aa
  1232. downloads.fg.stop = ${downloads.fg.start}
  1233. downloads.bg.stop = #00aa00
  1234. downloads.fg.system = rgb
  1235. downloads.bg.system = rgb
  1236. downloads.fg.error = white
  1237. downloads.bg.error = red
  1238. webpage.bg = white
  1239. keyhint.fg = #FFFFFF
  1240. keyhint.fg.suffix = #FFFF00
  1241. keyhint.bg = rgba(0, 0, 0, 80%)
  1242. #+end_src
  1243. ** Fonts
  1244. Fonts used for the UI, with optional style/weight/size.
  1245. * Style: `normal`/`italic`/`oblique`
  1246. * Weight: `normal`, `bold`, `100`..`900`
  1247. * Size: _number_ `px`/`pt`
  1248. _monospace (Font):
  1249. Default monospace fonts.
  1250. Default: Terminus, Monospace, "DejaVu Sans Mono", Monaco,
  1251. "Bitstream Vera Sans Mono", "Andale Mono", "Courier New", Courier,
  1252. "Liberation Mono", monospace, Fixed, Consolas, Terminal
  1253. completion (Font):
  1254. Font used in the completion widget.
  1255. Default: 8pt ${_monospace}
  1256. tabbar (QtFont):
  1257. Font used in the tab bar.
  1258. Default: 8pt ${_monospace}
  1259. statusbar (Font):
  1260. Font used in the statusbar.
  1261. Default: 8pt ${_monospace}
  1262. downloads (Font):
  1263. Font used for the downloadbar.
  1264. Default: 8pt ${_monospace}
  1265. hints (Font):
  1266. Font used for the hints.
  1267. Default: bold 13px Monospace
  1268. debug-console (QtFont):
  1269. Font used for the debugging console.
  1270. Default: 8pt ${_monospace}
  1271. web-family-standard (FontFamily):
  1272. Font family for standard fonts.
  1273. Default:
  1274. web-family-fixed (FontFamily):
  1275. Font family for fixed fonts.
  1276. Default:
  1277. web-family-serif (FontFamily):
  1278. Font family for serif fonts.
  1279. Default:
  1280. web-family-sans-serif (FontFamily):
  1281. Font family for sans-serif fonts.
  1282. Default:
  1283. web-family-cursive (FontFamily):
  1284. Font family for cursive fonts.
  1285. Default:
  1286. web-family-fantasy (FontFamily):
  1287. Font family for fantasy fonts.
  1288. Default:
  1289. web-size-minimum (Int):
  1290. The hard minimum font size.
  1291. Default:
  1292. web-size-minimum-logical (Int):
  1293. The minimum logical font size that is applied when zooming out.
  1294. Default:
  1295. web-size-default (Int):
  1296. The default font size for regular text.
  1297. Default:
  1298. web-size-default-fixed (Int):
  1299. The default font size for fixed-pitch text.
  1300. Default:
  1301. keyhint (Font):
  1302. Font used in the keyhint widget.
  1303. Default: 8pt ${_monospace}
  1304. *** Code
  1305. #+begin_src sh
  1306. [fonts]
  1307. _monospace = Terminus, Monospace, "DejaVu Sans Mono", Monaco, "Bitstream Vera Sans Mono", "Andale Mono", "Liberation Mono", "Courier New", Courier, monospace, Fixed, Consolas, Terminal
  1308. completion = 8pt ${_monospace}
  1309. tabbar = 8pt ${_monospace}
  1310. statusbar = 8pt ${_monospace}
  1311. downloads = 8pt ${_monospace}
  1312. hints = bold 13px Monospace
  1313. debug-console = 8pt ${_monospace}
  1314. web-family-standard =
  1315. web-family-fixed =
  1316. web-family-serif =
  1317. web-family-sans-serif =
  1318. web-family-cursive =
  1319. web-family-fantasy =
  1320. web-size-minimum =
  1321. web-size-minimum-logical =
  1322. web-size-default =
  1323. web-size-default-fixed =
  1324. keyhint = 8pt ${_monospace}
  1325. #+end_src
  1326. * keys.conf
  1327. :PROPERTIES:
  1328. :header-args: :tangle /home/csantos/DotFiles/qutebrowser/keys.conf :mkdirp yes
  1329. :END:
  1330. #+begin_src sh :padline no
  1331. #######################################################################
  1332. # DON'T MODIFY THIS FILE. INSTEAD, MODIFY ITS CORRESPONDING PAGE !!! #
  1333. #######################################################################
  1334. #+end_src
  1335. #+begin_src sh
  1336. # vim: ft=conf
  1337. #
  1338. # In this config file, qutebrowser's key bindings are configured.
  1339. # The format looks like this:
  1340. #
  1341. # [keymode]
  1342. #
  1343. # command
  1344. # keychain
  1345. # keychain2
  1346. # ...
  1347. #
  1348. # All blank lines and lines starting with '#' are ignored.
  1349. # Inline-comments are not permitted.
  1350. #
  1351. # keymode is a comma separated list of modes in which the key binding should be
  1352. # active. If keymode starts with !, the key binding is active in all modes
  1353. # except the listed modes.
  1354. #
  1355. # For special keys (can't be part of a keychain), enclose them in `<`...`>`.
  1356. # For modifiers, you can use either `-` or `+` as delimiters, and these names:
  1357. #
  1358. # * Control: `Control`, `Ctrl`
  1359. # * Meta: `Meta`, `Windows`, `Mod4`
  1360. # * Alt: `Alt`, `Mod1`
  1361. # * Shift: `Shift`
  1362. #
  1363. # For simple keys (no `<>`-signs), a capital letter means the key is pressed
  1364. # with Shift. For special keys (with `<>`-signs), you need to explicitly add
  1365. # `Shift-` to match a key pressed with shift. You can bind multiple commands
  1366. # by separating them with `;;`.
  1367. #
  1368. # Note that default keybindings are always bound, and need to be explicitly
  1369. # unbound if you wish to remove them:
  1370. #
  1371. # <unbound>
  1372. # keychain
  1373. # keychain2
  1374. # ...
  1375. #+end_src
  1376. ** !Normal
  1377. #+begin_src sh
  1378. [!normal]
  1379. clear-keychain ;; leave-mode
  1380. <escape>
  1381. <ctrl-[>
  1382. #+end_src
  1383. ** Normal
  1384. #+begin_src sh
  1385. [normal]
  1386. edit-url
  1387. <ctrl-e>
  1388. clear-keychain ;; search
  1389. <escape>
  1390. set-cmd-text -s :open &g
  1391. o
  1392. set-cmd-text :open {url:pretty}
  1393. go
  1394. set-cmd-text -s :open -t &g
  1395. t
  1396. # O
  1397. set-cmd-text :open -t {url:pretty}
  1398. gO
  1399. set-cmd-text -s :open -b
  1400. xo
  1401. set-cmd-text :open -b {url:pretty}
  1402. xO
  1403. set-cmd-text -s :open -w
  1404. wo
  1405. set-cmd-text :open -w {url:pretty}
  1406. wO
  1407. open -t
  1408. ga
  1409. <ctrl-t>
  1410. open -w
  1411. <ctrl-shift-n>
  1412. tab-close
  1413. d
  1414. tab-c