From: Samir Benmendil Date: Fri, 13 Nov 2015 09:18:12 +0000 (+0000) Subject: qutebrowser: update config X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/a9e273ca510656373d146535d2fee0abc702f2b0 qutebrowser: update config --- diff --git a/qutebrowser/keys.conf b/qutebrowser/keys.conf index 4833460..4edf369 100644 --- a/qutebrowser/keys.conf +++ b/qutebrowser/keys.conf @@ -39,6 +39,9 @@ clear-keychain ;; leave-mode [normal] # Keybindings for normal mode. +clear-keychain ;; search + + set-cmd-text -s :open o @@ -64,6 +67,7 @@ set-cmd-text :open -w {url} wO open -t + ga tab-close @@ -74,20 +78,17 @@ tab-close -o D tab-focus - T + K + gt tab-move gm tab-move - - gj + gl tab-move + - gk - -tab-next - K - gt + gr tab-prev J @@ -136,6 +137,9 @@ hint all window hint all tab-bg ;b +hint all tab-fg + ;f + hint all hover ;h @@ -203,6 +207,9 @@ search-prev enter-mode insert i +enter-mode caret + v + yank yy @@ -215,6 +222,12 @@ yank -t yank -ts yT +yank -d + yd + +yank -ds + yD + paste pp @@ -242,9 +255,21 @@ set-cmd-text -s :quickmark-load set-cmd-text -s :quickmark-load -t B -set-cmd-text :quickmark-load -w +set-cmd-text -s :quickmark-load -w wb +bookmark-add + M + +set-cmd-text -s :bookmark-load + gb + +set-cmd-text -s :bookmark-load -t + gB + +set-cmd-text -s :bookmark-load -w + wB + save sf @@ -299,6 +324,9 @@ download download-cancel ad +download-clear + cd + view-source gf @@ -362,39 +390,6 @@ print open qute:settings Ss -clear-keychain ;; search - - -tab-only - co - -hint all tab-fg - ;f - -enter-mode caret - v - -yank -d - yd - -yank -ds - yD - -bookmark-add - M - -set-cmd-text -s :bookmark-load - gb - -set-cmd-text -s :bookmark-load -t - gB - -set-cmd-text -s :bookmark-load -w - wB - -download-remove --all - cd - follow-selected @@ -407,6 +402,9 @@ follow-selected -t +tab-only + co + [insert] # Keybindings for insert mode. # Since normal keypresses are passed through, only special keys are @@ -426,6 +424,11 @@ open-editor follow-hint + + + + + hint --rapid links tab-bg @@ -461,13 +464,16 @@ completion-item-next +completion-item-del + + command-accept + - -completion-item-del - + + [prompt] # Keybindings for prompts in the status line. @@ -481,8 +487,11 @@ completion-item-del prompt-accept + + + prompt-yes y @@ -521,6 +530,7 @@ rl-kill-word rl-unix-word-rubout + rl-yank diff --git a/qutebrowser/qutebrowser.conf b/qutebrowser/qutebrowser.conf index 044894a..522cd75 100644 --- a/qutebrowser/qutebrowser.conf +++ b/qutebrowser/qutebrowser.conf @@ -41,7 +41,7 @@ # # startpage (List): # The default page(s) to open at the start, separated by commas. -# Default: https://www.duckduckgo.com +# Default: https://duckduckgo.com # # default-page (FuzzyUrl): # The page to open if :open -t/-b/-w is used without URL. Use @@ -67,8 +67,9 @@ # # editor (ShellCommand): # The editor (and arguments) to use for the `open-editor` command. -# Use `{}` for the filename. The value gets split like in a shell, -# so you can use `"` or `'` to quote arguments. +# The arguments get split like in a shell, so you can use `"` or `'` +# to quote them. +# `{}` gets replaced by the filename of the file to be edited. # Default: gvim -f "{}" # # editor-encoding (Encoding): @@ -143,9 +144,15 @@ # The name of the session to save by default, or empty for the last # loaded session. # Default: +# +# url-incdec-segments (URLSegmentList): +# The URL segments where `:navigate increment/decrement` will search +# for a number. +# Valid values: host, path, query, anchor +# Default: path,query ignore-case = smart wrap-search = true -startpage = https://www.duckduckgo.com +startpage = https://duckduckgo.com/?t=chakra default-page = ${startpage} auto-search = naive auto-save-config = true @@ -162,6 +169,7 @@ new-instance-open-target = tab log-javascript-console = false save-session = true session-default-name = +url-incdec-segments = path,query [ui] # General options related to the user interface. @@ -230,10 +238,10 @@ session-default-name = # Valid values: true, false # Default: false # -# remove-finished-downloads (Bool): -# Whether to remove finished downloads automatically. -# Valid values: true, false -# Default: false +# remove-finished-downloads (Int): +# Number of milliseconds to wait before removing finished downloads. +# Will not be removed if value is -1. +# Default: -1 # # hide-statusbar (Bool): # Whether to hide the statusbar unless a message is shown. @@ -253,6 +261,7 @@ session-default-name = # * `{title_sep}`: The string ` - ` if a title is set, empty # otherwise. # * `{id}`: The internal window ID of this window. +# * `{scroll_pos}`: The page scroll position. # Default: {perc}{title}{title_sep}qutebrowser # # hide-mouse-cursor (Bool): @@ -264,6 +273,11 @@ session-default-name = # Use standard JavaScript modal dialog for alert() and confirm() # Valid values: true, false # Default: false +# +# hide-wayland-decoration (Bool): +# Hide the window decoration when using wayland (requires restart) +# Valid values: true, false +# Default: false zoom-levels = 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500% default-zoom = 100% downloads-position = top @@ -276,12 +290,13 @@ frame-flattening = false user-stylesheet = $$XDG_CONFIG_HOME/qutebrowser/css/default.css css-media-type = smooth-scrolling = false -remove-finished-downloads = false +remove-finished-downloads = -1 hide-statusbar = false statusbar-padding = 1,1,0,0 window-title-format = {perc}{title}{title_sep}qutebrowser hide-mouse-cursor = false modal-js-dialog = false +hide-wayland-decoration = false [network] # Settings related to the network. @@ -354,7 +369,7 @@ dns-prefetch = true # both: Show download path and filename. # Default: path # -# timestamp-format (String): +# timestamp-format (TimestampTemplate): # How to format timestamps (e.g. for history) # Default: %Y-%m-%d # @@ -389,6 +404,14 @@ dns-prefetch = true # size if there are no scrollbars. # Valid values: true, false # Default: false +# +# scrollbar-width (Int): +# Width of the scrollbar in the completion window (in px). +# Default: 12 +# +# scrollbar-padding (Int): +# Padding of scrollbar handle in completion window (in px). +# Default: 2 auto-open = true download-path-suggestion = path timestamp-format = %Y-%m-%d @@ -398,6 +421,8 @@ cmd-history-max-items = 100 web-history-max-items = 1000 quick-complete = false shrink = true +scrollbar-width = 12 +scrollbar-padding = 2 [input] # Options related to input modes. @@ -575,6 +600,7 @@ mouse-zoom-divider = 512 # otherwise. # * `{index}`: The index of this tab. # * `{id}`: The internal tab ID of this tab. +# * `{scroll_pos}`: The page scroll position. # Default: {index}: {title} # # mousewheel-tab-switching (Bool): @@ -821,8 +847,8 @@ css-regions = true hyperlink-auditing = false geolocation = ask notifications = ask -javascript-can-open-windows = true -javascript-can-close-windows = true +javascript-can-open-windows = false +javascript-can-close-windows = false javascript-can-access-clipboard = false ignore-javascript-prompt = false ignore-javascript-alert = false @@ -856,7 +882,7 @@ host-blocking-whitelist = piwik.org # Default: asdfghjkl # # min-chars (Int): -# Mininum number of chars used for hint strings. +# Minimum number of chars used for hint strings. # Default: 1 # # scatter (Bool): @@ -891,7 +917,7 @@ min-chars = 1 scatter = true uppercase = true auto-follow = true -next-regexes = \bnext\b,\bmore\b,\bnewer\b,\b[>→≫]\b,\b(>>|»)\b +next-regexes = \bnext\b,\bmore\b,\bnewer\b,\b[>→≫]\b,\b(>>|»)\b,\bcontinue\b prev-regexes = \bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<|«)\b [searchengines] @@ -903,7 +929,7 @@ prev-regexes = \bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<|«)\b # replaced by the search term, use `{{` and `}}` for literal `{`/`}` # signs. DEFAULT = ${duckduckgo} -duckduckgo = https://duckduckgo.com/?q={} +duckduckgo = https://duckduckgo.com/?t=chakra&q={} ddg = ${duckduckgo} google = https://encrypted.google.com/search?q={} g = ${google} @@ -984,12 +1010,20 @@ exit = quit # Foreground color of the matched text in the completion. # Default: #ff4444 # +# completion.scrollbar.fg (QssColor): +# Color of the scrollbar handle in completion view. +# Default: ${completion.fg} +# +# completion.scrollbar.bg (QssColor): +# Color of the scrollbar in completion view +# Default: ${completion.bg} +# # statusbar.fg (QssColor): # Foreground color of the statusbar. # Default: white # # statusbar.bg (QssColor): -# Foreground color of the statusbar. +# Background color of the statusbar. # Default: black # # statusbar.fg.error (QssColor): @@ -1057,7 +1091,13 @@ exit = quit # Default: ${statusbar.fg} # # statusbar.url.fg.success (QssColor): -# Foreground color of the URL in the statusbar on successful load. +# Foreground color of the URL in the statusbar on successful load +# (http). +# Default: white +# +# statusbar.url.fg.success.https (QssColor): +# Foreground color of the URL in the statusbar on successful load +# (https). # Default: lime # # statusbar.url.fg.error (QssColor): @@ -1089,14 +1129,22 @@ exit = quit # Background color of unselected even tabs. # Default: darkgrey # -# tabs.fg.selected (QtColor): -# Foreground color of selected tabs. +# tabs.fg.selected.odd (QtColor): +# Foreground color of selected odd tabs. # Default: white # -# tabs.bg.selected (QtColor): -# Background color of selected tabs. +# tabs.bg.selected.odd (QtColor): +# Background color of selected odd tabs. # Default: black # +# tabs.fg.selected.even (QtColor): +# Foreground color of selected even tabs. +# Default: ${tabs.fg.selected.odd} +# +# tabs.bg.selected.even (QtColor): +# Background color of selected even tabs. +# Default: ${tabs.bg.selected.odd} +# # tabs.bg.bar (QtColor): # Background color of the tab bar. # Default: #555555 @@ -1118,6 +1166,7 @@ exit = quit # rgb: Interpolate in the RGB color system. # hsv: Interpolate in the HSV color system. # hsl: Interpolate in the HSL color system. +# none: Don't show a gradient. # Default: rgb # # hints.fg (CssColor): @@ -1158,6 +1207,7 @@ exit = quit # rgb: Interpolate in the RGB color system. # hsv: Interpolate in the HSV color system. # hsl: Interpolate in the HSL color system. +# none: Don't show a gradient. # Default: rgb # # downloads.bg.system: @@ -1165,6 +1215,7 @@ exit = quit # rgb: Interpolate in the RGB color system. # hsv: Interpolate in the HSV color system. # hsl: Interpolate in the HSL color system. +# none: Don't show a gradient. # Default: rgb # # downloads.fg.error (QtColor): @@ -1191,6 +1242,8 @@ completion.item.selected.bg = #e8c000 completion.item.selected.border.top = #bbbb00 completion.item.selected.border.bottom = ${completion.item.selected.border.top} completion.match.fg = #ff4444 +completion.scrollbar.fg = ${completion.fg} +completion.scrollbar.bg = ${completion.bg} statusbar.fg = white statusbar.bg = black statusbar.fg.error = ${statusbar.fg} @@ -1209,7 +1262,8 @@ statusbar.fg.caret-selection = ${statusbar.fg} statusbar.bg.caret-selection = #a12dff statusbar.progress.bg = white statusbar.url.fg = ${statusbar.fg} -statusbar.url.fg.success = lime +statusbar.url.fg.success = white +statusbar.url.fg.success.https = lime statusbar.url.fg.error = orange statusbar.url.fg.warn = yellow statusbar.url.fg.hover = aqua @@ -1217,8 +1271,10 @@ tabs.fg.odd = white tabs.bg.odd = grey tabs.fg.even = white tabs.bg.even = darkgrey -tabs.fg.selected = white -tabs.bg.selected = black +tabs.fg.selected.odd = white +tabs.bg.selected.odd = black +tabs.fg.selected.even = ${tabs.fg.selected.odd} +tabs.bg.selected.even = ${tabs.bg.selected.odd} tabs.bg.bar = #555555 tabs.indicator.start = #0000aa tabs.indicator.stop = #00aa00 @@ -1228,7 +1284,7 @@ hints.fg = black hints.bg = -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFF785), color-stop(100%,#FFC542)) hints.fg.match = green downloads.bg.bar = black -downloads.fg.start = #ffffff +downloads.fg.start = white downloads.bg.start = #0000aa downloads.fg.stop = ${downloads.fg.start} downloads.bg.stop = #00aa00 @@ -1252,19 +1308,19 @@ webpage.bg = white # # completion (Font): # Font used in the completion widget. -# Default: 10pt ${_monospace} +# Default: 8pt ${_monospace} # # tabbar (QtFont): # Font used in the tab bar. -# Default: 10pt ${_monospace} +# Default: 8pt ${_monospace} # # statusbar (Font): # Font used in the statusbar. -# Default: 10pt ${_monospace} +# Default: 8pt ${_monospace} # # downloads (Font): # Font used for the downloadbar. -# Default: 10pt ${_monospace} +# Default: 8pt ${_monospace} # # hints (Font): # Font used for the hints. @@ -1272,7 +1328,7 @@ webpage.bg = white # # debug-console (QtFont): # Font used for the debugging console. -# Default: 10pt ${_monospace} +# Default: 8pt ${_monospace} # # web-family-standard (FontFamily): # Font family for standard fonts.