From 5add027c4ce2ca58aef672447705e65c6d14b6f7 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Thu, 7 Jul 2016 12:47:04 +0100 Subject: Update qutebrowser defaults --- qutebrowser/.config/qutebrowser/keys.conf | 181 +++++++++++---------- .../.config/qutebrowser/qsettings/QtProject.conf | 8 + qutebrowser/.config/qutebrowser/qutebrowser.conf | 55 ++++++- 3 files changed, 158 insertions(+), 86 deletions(-) create mode 100644 qutebrowser/.config/qutebrowser/qsettings/QtProject.conf diff --git a/qutebrowser/.config/qutebrowser/keys.conf b/qutebrowser/.config/qutebrowser/keys.conf index 79a9e13..e441f4e 100644 --- a/qutebrowser/.config/qutebrowser/keys.conf +++ b/qutebrowser/.config/qutebrowser/keys.conf @@ -41,14 +41,14 @@ [!normal] clear-keychain ;; leave-mode - - + + [normal] # Keybindings for normal mode. clear-keychain ;; search - + set-cmd-text -s :spawn --userscript url-from-surfraw o @@ -82,11 +82,11 @@ set-cmd-text :open -w {url} open -t ga - + tab-close d - + tab-close -o D @@ -139,7 +139,7 @@ forward -w wl fullscreen - + hint f @@ -322,10 +322,10 @@ navigate up -t gU navigate increment - + navigate decrement - + inspector wi @@ -343,81 +343,96 @@ view-source gf tab-focus last - + enter-mode passthrough - + quit - + scroll-page 0 1 - + scroll-page 0 -1 - + scroll-page 0 0.5 - + scroll-page 0 -0.5 - + tab-focus 1 - + tab-focus 2 - + tab-focus 3 - + tab-focus 4 - + tab-focus 5 - + tab-focus 6 - + tab-focus 7 - + tab-focus 8 - + tab-focus 9 - + home - + stop - + print - + open qute:settings Ss follow-selected - - - - - + + + + + follow-selected -t - - + + set-cmd-text -s :bookmark-load gb undo - + + +open -w + + +enter-mode set_mark + ` + +enter-mode jump_mark + ' + +yank -p + yp + +yank -ps + yP [insert] # Keybindings for insert mode. @@ -428,10 +443,10 @@ undo # * `paste-primary`: Paste primary selection at cursor position. open-editor - + paste-primary - + [hint] # Keybindings for hint mode. @@ -441,20 +456,20 @@ paste-primary # * `follow-hint`: Follow the currently selected hint. follow-hint - - - - - + + + + + hint --rapid links tab-bg - + hint links - + hint all tab-bg - + [command] # Keybindings for command mode. @@ -468,28 +483,28 @@ hint all tab-bg # * `command-accept`: Execute the command currently in the commandline. command-history-prev - - + + command-history-next - - + + completion-item-prev - + completion-item-next - + completion-item-del - + command-accept - - - - - + + + + + [prompt] # Keybindings for prompts in the status line. @@ -502,11 +517,11 @@ command-accept # * `prompt-no`: Answer no to a yes/no question. prompt-accept - - - - - + + + + + prompt-yes y @@ -517,53 +532,53 @@ prompt-no [command,prompt] rl-backward-char - + rl-forward-char - + rl-backward-word - + rl-forward-word - + rl-beginning-of-line - + rl-end-of-line - + rl-unix-line-discard - + rl-kill-word - + rl-unix-word-rubout - - + + rl-yank - + rl-delete-char - + rl-backward-delete-char - + rl-kill-line - + [caret] toggle-selection v - + drop-selection - + enter-mode normal c @@ -618,11 +633,11 @@ yank-selected -p yank-selected y - - - - - + + + + + scroll left H diff --git a/qutebrowser/.config/qutebrowser/qsettings/QtProject.conf b/qutebrowser/.config/qutebrowser/qsettings/QtProject.conf new file mode 100644 index 0000000..b2a0669 --- /dev/null +++ b/qutebrowser/.config/qutebrowser/qsettings/QtProject.conf @@ -0,0 +1,8 @@ +[FileDialog] +history=file:///home/urbain/Dropbox/toprint +lastVisited=file:///home/urbain/Dropbox/toprint +qtVersion=5.6.0 +shortcuts=file:, file:///home/urbain +sidebarWidth=90 +treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1\xec\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\0\xff\0\0\0\x1\0\0\0\0\0\0\0?\0\0\0\x1\0\0\0\0\0\0\0@\0\0\0\x1\0\0\0\0\0\0\0n\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0) +viewMode=Detail diff --git a/qutebrowser/.config/qutebrowser/qutebrowser.conf b/qutebrowser/.config/qutebrowser/qutebrowser.conf index 9064d48..f635c74 100644 --- a/qutebrowser/.config/qutebrowser/qutebrowser.conf +++ b/qutebrowser/.config/qutebrowser/qutebrowser.conf @@ -280,6 +280,12 @@ url-incdec-segments = path,query # Hide the window decoration when using wayland (requires restart) # Valid values: true, false # Default: false +# +# keyhint-blacklist (List): +# Keychains that shouldn't be shown in the keyhint dialog +# Globs are supported, so ';*' will blacklist all keychainsstarting +# with ';'. Use '*' to disable keyhints +# Default: zoom-levels = 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500% default-zoom = 100% downloads-position = top @@ -299,6 +305,7 @@ window-title-format = {perc}{title}{title_sep}qutebrowser hide-mouse-cursor = false modal-js-dialog = false hide-wayland-decoration = false +keyhint-blacklist = [network] # Settings related to the network. @@ -347,6 +354,10 @@ hide-wayland-decoration = false # Whether to try to pre-fetch DNS entries to speed up browsing. # Valid values: true, false # Default: true +# +# custom-headers (HeaderDict): +# Set custom headers for qutebrowser HTTP requests. +# Default: do-not-track = true accept-language = en-US,en referer-header = same-domain @@ -355,6 +366,7 @@ proxy = system proxy-dns-requests = true ssl-strict = ask dns-prefetch = true +custom-headers = [completion] # Options related to completion and command history. @@ -431,11 +443,15 @@ scrollbar-padding = 2 # # timeout (Int): # Timeout for ambiguous key bindings. +# If the current input forms both a complete match and a partial +# match, the complete match will be executed after this time. # Default: 500 # # partial-timeout (Int): # Timeout for partially typed key bindings. -# Default: 1000 +# If the current input forms only partial matches, the keystring +# will be cleared after this time. +# Default: 5000 # # insert-mode-on-plugins (Bool): # Whether to switch to insert mode when clicking flash and other @@ -752,7 +768,7 @@ cache-size = 52428800 # webgl (Bool): # Enables or disables WebGL. # Valid values: true, false -# Default: true +# Default: false # # css-regions (Bool): # Enable or disable support for CSS regions. @@ -905,7 +921,7 @@ enable-pdfjs = false # # scatter (Bool): # Whether to scatter hint key chains (like Vimium) or not (like -# dwb). +# dwb). Ignored for number hints. # Valid values: true, false # Default: true # @@ -924,6 +940,11 @@ enable-pdfjs = false # Valid values: true, false # Default: true # +# auto-follow-timeout (Int): +# A timeout to inhibit normal-mode key bindings after a +# successfulauto-follow. +# Default: 0 +# # next-regexes (RegexList): # A comma-separated list of regexes to use for 'next' links. # Default: @@ -932,6 +953,12 @@ enable-pdfjs = false # prev-regexes (RegexList): # A comma-separated list of regexes to use for 'prev' links. # Default: \bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<|«)\b +# +# find-implementation (String): +# Which implementation to use to find elements to hint. +# javascript: Better but slower +# python: Slightly worse but faster +# Default: javascript border = 1px solid #E3BE23 opacity = 1 mode = letter @@ -941,8 +968,10 @@ scatter = true uppercase = true dictionary = /usr/share/dict/words auto-follow = true +auto-follow-timeout = 0 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 +find-implementation = javascript [searchengines] # Definitions of search engines which can be used via the address bar. @@ -1244,6 +1273,18 @@ DEFAULT = https://duckduckgo.com/?q={} # Background color for webpages if unset (or empty to use the # theme's color) # Default: white +# +# keyhint.fg (QssColor): +# Text color for the keyhint widget. +# Default: #FFFFFF +# +# keyhint.fg.suffix (CssColor): +# Highlight color for keys to complete the current keychain +# Default: #FFFF00 +# +# keyhint.bg (QssColor): +# Background color of the keyhint widget. +# Default: rgba(0, 0, 0, 80%) completion.fg = white completion.bg = #333333 completion.alternate-bg = #444444 @@ -1307,6 +1348,9 @@ downloads.bg.system = rgb downloads.fg.error = white downloads.bg.error = red webpage.bg = white +keyhint.fg = #FFFFFF +keyhint.fg.suffix = #FFFF00 +keyhint.bg = rgba(0, 0, 0, 80%) [fonts] # Fonts used for the UI, with optional style/weight/size. @@ -1383,6 +1427,10 @@ webpage.bg = white # web-size-default-fixed (Int): # The default font size for fixed-pitch text. # Default: +# +# keyhint (Font): +# Font used in the keyhint widget. +# Default: 8pt ${_monospace} _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} tabbar = 8pt ${_monospace} @@ -1400,3 +1448,4 @@ web-size-minimum = web-size-minimum-logical = web-size-default = web-size-default-fixed = +keyhint = 8pt ${_monospace} -- cgit v1.2.3