]> git.rmz.io Git - dotfiles.git/blobdiff - qutebrowser/keys.conf
vim: add .hpp files to fswitch
[dotfiles.git] / qutebrowser / keys.conf
index 48334604167766dc67bca2c99af6518966e91698..534a729a9da45c689566b7974179a3acb43aad4b 100644 (file)
 # with Shift. For special keys (with `<>`-signs), you need to explicitly add
 # `Shift-` to match a key pressed with shift.  You can bind multiple commands
 # by separating them with `;;`.
+#
+# Note that default keybindings are always bound, and need to be explicitly
+# unbound if you wish to remove them:
+#
+# <unbound>
+#   keychain
+#   keychain2
+#   ...
 
 [!normal]
 
-clear-keychain ;; leave-mode
-    <Escape>
-    <Ctrl-[>
+leave-mode
+    <escape>
+    <ctrl-[>
 
 [normal]
 # Keybindings for normal mode.
 
+clear-keychain ;; search
+    <escape>
+
 set-cmd-text -s :open
     o
 
@@ -64,30 +75,28 @@ set-cmd-text :open -w {url}
     wO
 
 open -t
-    <Ctrl-T>
+    ga
+    <ctrl-t>
 
 tab-close
     d
-    <Ctrl-W>
+    <ctrl-w>
 
 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
@@ -104,7 +113,7 @@ reload -f
 
 back
     H
-    <Backspace>
+    <backspace>
 
 back -t
     th
@@ -122,7 +131,7 @@ forward -w
     wl
 
 fullscreen
-    <F11>
+    <f11>
 
 hint
     f
@@ -136,6 +145,9 @@ hint all window
 hint all tab-bg
     ;b
 
+hint all tab-fg
+    ;f
+
 hint all hover
     ;h
 
@@ -148,13 +160,13 @@ hint images tab
 hint images tab-bg
     .i
 
-hint links fill ":open {hint-url}"
+hint links fill :open {hint-url}
     ;o
 
-hint links fill ":open -t {hint-url}"
+hint links fill :open -t {hint-url}
     ;O
 
-hint links fill ":open -b {hint-url}"
+hint links fill :open -b {hint-url}
     .o
 
 hint links yank
@@ -186,7 +198,7 @@ scroll right
 
 undo
     u
-    <Ctrl-Shift-T>
+    <ctrl-shift-t>
 
 scroll-perc 0
     gg
@@ -203,34 +215,43 @@ search-prev
 enter-mode insert
     i
 
+enter-mode caret
+    v
+
 yank
     yy
 
 yank -s
     yY
 
-yank -t
+yank title
     yt
 
-yank -ts
+yank title -s
     yT
 
-paste
+yank domain
+    yd
+
+yank domain -s
+    yD
+
+open -- {clipboard}
     pp
 
-paste -s
+open -- {primary}
     pP
 
-paste -t
+open -t -- {clipboard}
     Pp
 
-paste -ts
+open -t -- {primary}
     PP
 
-paste -w
+open -w -- {clipboard}
     wp
 
-paste -ws
+open -w -- {primary}
     wP
 
 quickmark-save
@@ -242,9 +263,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
 
@@ -285,10 +318,10 @@ navigate up -t
     gU
 
 navigate increment
-    <Ctrl-A>
+    <ctrl-a>
 
 navigate decrement
-    <Ctrl-X>
+    <ctrl-x>
 
 inspector
     wi
@@ -299,113 +332,119 @@ download
 download-cancel
     ad
 
+download-clear
+    cd
+
 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
 
-clear-keychain ;; search
-    <Escape>
+follow-selected
+    <return>
+    <ctrl-m>
+    <ctrl-j>
+    <shift-return>
+    <enter>
+    <shift-enter>
+
+follow-selected -t
+    <ctrl-return>
+    <ctrl-enter>
 
 tab-only
     co
 
-hint all tab-fg
-    ;f
+open -w
+    <ctrl-n>
 
-enter-mode caret
-    v
+enter-mode set_mark
+    `
 
-yank -d
-    yd
+enter-mode jump_mark
+    '
 
-yank -ds
-    yD
+yank pretty-url
+    yp
 
-bookmark-add
-    M
+yank pretty-url -s
+    yP
 
-set-cmd-text -s :bookmark-load
-    gb
+hint inputs
+    ;t
 
-set-cmd-text -s :bookmark-load -t
-    gB
+repeat-command
+    .
 
-set-cmd-text -s :bookmark-load -w
-    wB
+set-cmd-text /
+    /
 
-download-remove --all
-    cd
+set-cmd-text ?
+    ?
 
-follow-selected
-    <Return>
-    <Ctrl-M>
-    <Ctrl-J>
-    <Shift-Return>
-    <Enter>
-    <Shift-Enter>
+set-cmd-text :
+    :
 
-follow-selected -t
-    <Ctrl-Return>
-    <Ctrl-Enter>
+tab-next
+    <ctrl-pgdown>
 
 [insert]
 # Keybindings for insert mode.
@@ -413,9 +452,13 @@ follow-selected -t
 # supported in this mode.
 # Useful hidden commands to map in this section:
 #  * `open-editor`: Open a texteditor with the focused field.
+#  * `paste-primary`: Paste primary selection at cursor position.
 
 open-editor
-    <Ctrl-E>
+    <ctrl-e>
+
+insert-text {primary}
+    <shift-ins>
 
 [hint]
 # Keybindings for hint mode.
@@ -425,16 +468,21 @@ open-editor
 #  * `follow-hint`: Follow the currently selected hint.
 
 follow-hint
-    <Return>
+    <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.
@@ -443,31 +491,39 @@ hint all tab-bg
 # Useful hidden commands to map in this section:
 #  * `command-history-prev`: Switch to previous command in history.
 #  * `command-history-next`: Switch to next command in history.
-#  * `completion-item-prev`: Select previous item in completion.
-#  * `completion-item-next`: Select next item in completion.
+#  * `completion-item-focus`: Select another item in completion.
 #  * `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>
+completion-item-focus prev
+    <shift-tab>
+    <up>
 
-completion-item-next
-    <Tab>
-    <Down>
+completion-item-focus next
+    <tab>
+    <down>
+
+completion-item-del
+    <ctrl-d>
 
 command-accept
-    <Return>
-    <Ctrl-J>
-    <Shift-Return>
+    <return>
+    <ctrl-m>
+    <ctrl-j>
+    <shift-return>
+    <enter>
+    <shift-enter>
 
-completion-item-del
-    <Ctrl-D>
+completion-item-focus next-category
+    <ctrl-tab>
+
+completion-item-focus prev-category
+    <ctrl-shift-tab>
 
 [prompt]
 # Keybindings for prompts in the status line.
@@ -480,9 +536,12 @@ completion-item-del
 #  * `prompt-no`: Answer no to a yes/no question.
 
 prompt-accept
-    <Return>
-    <Ctrl-J>
-    <Shift-Return>
+    <return>
+    <ctrl-m>
+    <ctrl-j>
+    <shift-return>
+    <enter>
+    <shift-enter>
 
 prompt-yes
     y
@@ -490,55 +549,61 @@ prompt-yes
 prompt-no
     n
 
+prompt-open-download
+    <ctrl-x>
+
 [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>
+    <ctrl-w>
+
+rl-backward-kill-word
+    <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
@@ -588,17 +653,17 @@ move-to-start-of-document
 move-to-end-of-document
     G
 
-yank-selected -p
+yank selection -s
     Y
 
-yank-selected
+yank selection
     y
-    <Return>
-    <Ctrl-M>
-    <Ctrl-J>
-    <Shift-Return>
-    <Enter>
-    <Shift-Enter>
+    <return>
+    <ctrl-m>
+    <ctrl-j>
+    <shift-return>
+    <enter>
+    <shift-enter>
 
 scroll left
     H