]> git.rmz.io Git - dotfiles.git/commitdiff
qutebrowser: update config
authorSamir Benmendil <me@rmz.io>
Mon, 20 Jun 2016 07:27:38 +0000 (08:27 +0100)
committerSamir Benmendil <me@rmz.io>
Mon, 20 Jun 2016 07:27:38 +0000 (08:27 +0100)
qutebrowser/keys.conf
qutebrowser/qutebrowser.conf

index 31ecb4a3a8a475c5ad72ca2674805a7cdd5c1ab7..cda490e10acf7c1f1f7307e2296069f6faf76b78 100644 (file)
 [!normal]
 
 clear-keychain ;; leave-mode
-    <Escape>
-    <Ctrl-[>
+    <escape>
+    <ctrl-[>
 
 [normal]
 # Keybindings for normal mode.
 
 clear-keychain ;; search
-    <Escape>
+    <escape>
 
 set-cmd-text -s :open
     o
@@ -76,11 +76,11 @@ set-cmd-text :open -w {url}
 
 open -t
     ga
-    <Ctrl-T>
+    <ctrl-t>
 
 tab-close
     d
-    <Ctrl-W>
+    <ctrl-w>
 
 tab-close -o
     D
@@ -113,7 +113,7 @@ reload -f
 
 back
     H
-    <Backspace>
+    <backspace>
 
 back -t
     th
@@ -131,7 +131,7 @@ forward -w
     wl
 
 fullscreen
-    <F11>
+    <f11>
 
 hint
     f
@@ -198,7 +198,7 @@ scroll right
 
 undo
     u
-    <Ctrl-Shift-T>
+    <ctrl-shift-t>
 
 scroll-perc 0
     gg
@@ -318,10 +318,10 @@ navigate up -t
     gU
 
 navigate increment
-    <Ctrl-A>
+    <ctrl-a>
 
 navigate decrement
-    <Ctrl-X>
+    <ctrl-x>
 
 inspector
     wi
@@ -339,80 +339,95 @@ view-source
     gf
 
 tab-focus last
-    <Ctrl-Tab>
+    <ctrl-tab>
 
 enter-mode passthrough
-    <Ctrl-V>
+    <ctrl-v>
 
 quit
-    <Ctrl-Q>
+    <ctrl-q>
 
 scroll-page 0 1
-    <Ctrl-F>
+    <ctrl-f>
 
 scroll-page 0 -1
-    <Ctrl-B>
+    <ctrl-b>
 
 scroll-page 0 0.5
-    <Ctrl-D>
+    <ctrl-d>
 
 scroll-page 0 -0.5
-    <Ctrl-U>
+    <ctrl-u>
 
 tab-focus 1
-    <Alt-1>
+    <alt-1>
 
 tab-focus 2
-    <Alt-2>
+    <alt-2>
 
 tab-focus 3
-    <Alt-3>
+    <alt-3>
 
 tab-focus 4
-    <Alt-4>
+    <alt-4>
 
 tab-focus 5
-    <Alt-5>
+    <alt-5>
 
 tab-focus 6
-    <Alt-6>
+    <alt-6>
 
 tab-focus 7
-    <Alt-7>
+    <alt-7>
 
 tab-focus 8
-    <Alt-8>
+    <alt-8>
 
 tab-focus 9
-    <Alt-9>
+    <alt-9>
 
 home
-    <Ctrl-h>
+    <ctrl-h>
 
 stop
-    <Ctrl-s>
+    <ctrl-s>
 
 print
-    <Ctrl-Alt-p>
+    <ctrl-alt-p>
 
 open qute:settings
     Ss
 
 follow-selected
-    <Return>
-    <Ctrl-M>
-    <Ctrl-J>
-    <Shift-Return>
-    <Enter>
-    <Shift-Enter>
+    <return>
+    <ctrl-m>
+    <ctrl-j>
+    <shift-return>
+    <enter>
+    <shift-enter>
 
 follow-selected -t
-    <Ctrl-Return>
-    <Ctrl-Enter>
+    <ctrl-return>
+    <ctrl-enter>
 
 tab-only
     co
 
+open -w
+    <ctrl-n>
+
+enter-mode set_mark
+    `
+
+enter-mode jump_mark
+    '
+
+yank -p
+    yp
+
+yank -ps
+    yP
+
 [insert]
 # Keybindings for insert mode.
 # Since normal keypresses are passed through, only special keys are
@@ -422,10 +437,10 @@ tab-only
 #  * `paste-primary`: Paste primary selection at cursor position.
 
 open-editor
-    <Ctrl-E>
+    <ctrl-e>
 
 paste-primary
-    <Shift-Ins>
+    <shift-ins>
 
 [hint]
 # Keybindings for hint mode.
@@ -435,21 +450,21 @@ paste-primary
 #  * `follow-hint`: Follow the currently selected hint.
 
 follow-hint
-    <Return>
-    <Ctrl-M>
-    <Ctrl-J>
-    <Shift-Return>
-    <Enter>
-    <Shift-Enter>
+    <return>
+    <ctrl-m>
+    <ctrl-j>
+    <shift-return>
+    <enter>
+    <shift-enter>
 
 hint --rapid links tab-bg
-    <Ctrl-R>
+    <ctrl-r>
 
 hint links
-    <Ctrl-F>
+    <ctrl-f>
 
 hint all tab-bg
-    <Ctrl-B>
+    <ctrl-b>
 
 [command]
 # Keybindings for command mode.
@@ -463,29 +478,29 @@ hint all tab-bg
 #  * `command-accept`: Execute the command currently in the commandline.
 
 command-history-prev
-    <Ctrl-P>
+    <ctrl-p>
 
 command-history-next
-    <Ctrl-N>
+    <ctrl-n>
 
 completion-item-prev
-    <Shift-Tab>
-    <Up>
+    <shift-tab>
+    <up>
 
 completion-item-next
-    <Tab>
-    <Down>
+    <tab>
+    <down>
 
 completion-item-del
-    <Ctrl-D>
+    <ctrl-d>
 
 command-accept
-    <Return>
-    <Ctrl-M>
-    <Ctrl-J>
-    <Shift-Return>
-    <Enter>
-    <Shift-Enter>
+    <return>
+    <ctrl-m>
+    <ctrl-j>
+    <shift-return>
+    <enter>
+    <shift-enter>
 
 [prompt]
 # Keybindings for prompts in the status line.
@@ -498,12 +513,12 @@ command-accept
 #  * `prompt-no`: Answer no to a yes/no question.
 
 prompt-accept
-    <Return>
-    <Ctrl-M>
-    <Ctrl-J>
-    <Shift-Return>
-    <Enter>
-    <Shift-Enter>
+    <return>
+    <ctrl-m>
+    <ctrl-j>
+    <shift-return>
+    <enter>
+    <shift-enter>
 
 prompt-yes
     y
@@ -514,53 +529,53 @@ prompt-no
 [command,prompt]
 
 rl-backward-char
-    <Ctrl-B>
+    <ctrl-b>
 
 rl-forward-char
-    <Ctrl-F>
+    <ctrl-f>
 
 rl-backward-word
-    <Alt-B>
+    <alt-b>
 
 rl-forward-word
-    <Alt-F>
+    <alt-f>
 
 rl-beginning-of-line
-    <Ctrl-A>
+    <ctrl-a>
 
 rl-end-of-line
-    <Ctrl-E>
+    <ctrl-e>
 
 rl-unix-line-discard
-    <Ctrl-U>
+    <ctrl-u>
 
 rl-kill-line
-    <Ctrl-K>
+    <ctrl-k>
 
 rl-kill-word
-    <Alt-D>
+    <alt-d>
 
 rl-unix-word-rubout
-    <Ctrl-W>
-    <Alt-Backspace>
+    <ctrl-w>
+    <alt-backspace>
 
 rl-yank
-    <Ctrl-Y>
+    <ctrl-y>
 
 rl-delete-char
-    <Ctrl-?>
+    <ctrl-?>
 
 rl-backward-delete-char
-    <Ctrl-H>
+    <ctrl-h>
 
 [caret]
 
 toggle-selection
     v
-    <Space>
+    <space>
 
 drop-selection
-    <Ctrl-Space>
+    <ctrl-space>
 
 enter-mode normal
     c
@@ -615,12 +630,12 @@ yank-selected -p
 
 yank-selected
     y
-    <Return>
-    <Ctrl-M>
-    <Ctrl-J>
-    <Shift-Return>
-    <Enter>
-    <Shift-Enter>
+    <return>
+    <ctrl-m>
+    <ctrl-j>
+    <shift-return>
+    <enter>
+    <shift-enter>
 
 scroll left
     H
index 28d0878789fb9eab60f58fd46d5c5661a4966629..f836fb8f8c84c1e55de22bddc869386e8e991270 100644 (file)
@@ -264,6 +264,7 @@ url-incdec-segments = path,query
 #     otherwise.
 #     * `{id}`: The internal window ID of this window.
 #     * `{scroll_pos}`: The page scroll position.
+#     * `{host}`: The host of the current web page.
 #     Default: {perc}{title}{title_sep}qutebrowser
 #
 # hide-mouse-cursor (Bool):
@@ -280,6 +281,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 +306,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 +355,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,de,fr
 referer-header = same-domain
@@ -355,6 +367,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 +444,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
@@ -603,6 +620,7 @@ mouse-zoom-divider = 512
 #     * `{index}`: The index of this tab.
 #     * `{id}`: The internal tab ID of this tab.
 #     * `{scroll_pos}`: The page scroll position.
+#     * `{host}`: The host of the current web page.
 #     Default: {index}: {title}
 #
 # title-alignment (TextAlignment):
@@ -752,7 +770,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 +923,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 +942,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 +955,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 = 0.7
 mode = letter
@@ -941,8 +970,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.
@@ -1255,6 +1286,18 @@ exit = quit
 #     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
@@ -1318,6 +1361,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.
@@ -1394,6 +1440,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}
@@ -1411,3 +1461,4 @@ web-size-minimum =
 web-size-minimum-logical = 
 web-size-default = 
 web-size-default-fixed = 
+keyhint = 8pt ${_monospace}