From: Samir Benmendil Date: Thu, 10 Nov 2016 10:23:56 +0000 (+0000) Subject: qutebrowser: update configs X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/674a9dab7442a08935b11db7bd01697bd450d074?ds=sidebyside qutebrowser: update configs --- diff --git a/qutebrowser/keys.conf b/qutebrowser/keys.conf index 2ef0f35..b635a97 100644 --- a/qutebrowser/keys.conf +++ b/qutebrowser/keys.conf @@ -445,6 +445,12 @@ set-cmd-text : tab-next +record-macro + q + +run-macro + @ + [insert] # Keybindings for insert mode. # Since normal keypresses are passed through, only special keys are @@ -551,6 +557,14 @@ prompt-accept no prompt-open-download +prompt-item-focus prev + + + +prompt-item-focus next + + + [command,prompt] rl-backward-char diff --git a/qutebrowser/qutebrowser.conf b/qutebrowser/qutebrowser.conf index 0069283..1afe621 100644 --- a/qutebrowser/qutebrowser.conf +++ b/qutebrowser/qutebrowser.conf @@ -36,7 +36,7 @@ # # startpage (List of String): # The default page(s) to open at the start, separated by commas. -# Default: https://duckduckgo.com +# Default: https://start.duckduckgo.com # # yank-ignored-url-parameters (List of String): # The URL parameters to strip with :yank url, separated by commas. @@ -294,6 +294,10 @@ url-incdec-segments = path,query # Globs are supported, so ';*' will blacklist all keychainsstarting # with ';'. Use '*' to disable keyhints # Default: +# +# prompt-radius (Int): +# The rounding radius for the edges of prompts. +# Default: 8 zoom-levels = 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500% default-zoom = 100% downloads-position = top @@ -313,6 +317,7 @@ window-title-format = {perc}{title}{title_sep}qutebrowser modal-js-dialog = false hide-wayland-decoration = false keyhint-blacklist = +prompt-radius = 8 [network] # Settings related to the network. @@ -533,25 +538,27 @@ mouse-zoom-divider = 512 # # select-on-remove (SelectOnRemove): # Which tab to select when the focused tab is removed. -# left: Select the tab on the left. -# right: Select the tab on the right. -# previous: Select the previously selected tab. -# Default: right +# prev: Select the tab which came before the closed one (left in +# horizontal, above in vertical). +# next: Select the tab which came after the closed one (right in +# horizontal, below in vertical). +# last-used: Select the previously selected tab. +# Default: next # # new-tab-position (NewTabPosition): # How new tabs are positioned. -# left: On the left of the current tab. -# right: On the right of the current tab. -# first: At the left end. -# last: At the right end. -# Default: right +# prev: Before the current tab. +# next: After the current tab. +# first: At the beginning. +# last: At the end. +# Default: next # # new-tab-position-explicit (NewTabPosition): # How new tabs opened explicitly are positioned. -# left: On the left of the current tab. -# right: On the right of the current tab. -# first: At the left end. -# last: At the right end. +# prev: Before the current tab. +# next: After the current tab. +# first: At the beginning. +# last: At the end. # Default: last # # last-close (String): @@ -649,9 +656,9 @@ mouse-zoom-divider = 512 # Padding for indicators (top, bottom, left, right). # Default: 2,2,0,4 background-tabs = false -select-on-remove = left -new-tab-position = right -new-tab-position-explicit = right +select-on-remove = prev +new-tab-position = next +new-tab-position-explicit = next last-close = ignore show = always show-switching-delay = 800 @@ -861,7 +868,7 @@ cache-size = 52428800 # - A zip-file of any of the above, with either only one file, or a # file named 'hosts' (with any extension). # Default: -# 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 +# https://www.malwaredomainlist.com/hostslist/hosts.txt,http://someonewhocares.org/hosts/hosts,http://winhelp2002.mvps.org/hosts.zip,http://malwaredomains.lehigh.edu/files/justdomains.zip,https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext # # host-blocking-enabled (Bool): # Whether host blocking is enabled. @@ -1018,7 +1025,7 @@ cv = http://docs.opencv.org/3.1.0/index.html#gsc.tab=0&gsc.ref=more%3A3.1&gsc.q= # Aliases for commands. # By default, no aliases are defined. Example which adds a new command # `:qtb` to open qutebrowsers website: -# `qtb = open http://www.qutebrowser.org/` +# `qtb = open https://www.qutebrowser.org/` quit = close q = close exit = quit @@ -1103,14 +1110,6 @@ exit = quit # Background color of the statusbar. # Default: black # -# statusbar.fg.prompt (QssColor): -# Foreground color of the statusbar if there is a prompt. -# Default: ${statusbar.fg} -# -# statusbar.bg.prompt (QssColor): -# Background color of the statusbar if there is a prompt. -# Default: darkblue -# # statusbar.fg.insert (QssColor): # Foreground color of the statusbar in insert mode. # Default: ${statusbar.fg} @@ -1340,6 +1339,18 @@ exit = quit # messages.border.info (QssColor): # Border color of an info message. # Default: #333333 +# +# prompts.fg (QssColor): +# Foreground color for prompts. +# Default: white +# +# prompts.bg (QssColor): +# Background color for prompts. +# Default: darkblue +# +# prompts.selected.bg (QssColor): +# Background color for the selected item in filename prompts. +# Default: #308cc6 completion.fg = white completion.bg = #333333 completion.alternate-bg = #444444 @@ -1356,8 +1367,6 @@ completion.scrollbar.fg = ${completion.fg} completion.scrollbar.bg = ${completion.bg} statusbar.fg = white statusbar.bg = black -statusbar.fg.prompt = ${statusbar.fg} -statusbar.bg.prompt = darkblue statusbar.fg.insert = ${statusbar.fg} statusbar.bg.insert = darkgreen statusbar.fg.command = ${statusbar.fg} @@ -1411,6 +1420,9 @@ messages.border.warning = #d47300 messages.fg.info = white messages.bg.info = black messages.border.info = #333333 +prompts.fg = ${statusbar.fg} +prompts.bg = darkblue +prompts.selected.bg = #308cc6 [fonts] # Fonts used for the UI, with optional style/weight/size. @@ -1507,6 +1519,10 @@ messages.border.info = #333333 # messages.info (Font): # Font used for info messages. # Default: 8pt ${_monospace} +# +# prompts (Font): +# Font used for prompts. +# Default: 8pt sans-serif _monospace = Terminus, Monospace, "DejaVu Sans Mono", Monaco, "Bitstream Vera Sans Mono", "Andale Mono", "Liberation Mono", "Courier New", Courier, monospace, Fixed, Consolas, Terminal completion = 8pt ${_monospace} completion.category = bold ${completion} @@ -1529,3 +1545,4 @@ keyhint = 8pt ${_monospace} messages.error = 8pt ${_monospace} messages.warning = 8pt ${_monospace} messages.info = 8pt ${_monospace} +prompts = 8pt sans-serif