]> git.rmz.io Git - dotfiles.git/blobdiff - qutebrowser/keys.conf
awesome: autostart qutebrowser instead of dwb
[dotfiles.git] / qutebrowser / keys.conf
index 48334604167766dc67bca2c99af6518966e91698..cda490e10acf7c1f1f7307e2296069f6faf76b78 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-[>
+    <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
 
@@ -186,7 +198,7 @@ scroll right
 
 undo
     u
-    <Ctrl-Shift-T>
+    <ctrl-shift-t>
 
 scroll-perc 0
     gg
@@ -203,6 +215,9 @@ search-prev
 enter-mode insert
     i
 
+enter-mode caret
+    v
+
 yank
     yy
 
@@ -215,6 +230,12 @@ yank -t
 yank -ts
     yT
 
+yank -d
+    yd
+
+yank -ds
+    yD
+
 paste
     pp
 
@@ -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,101 @@ 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
-
-enter-mode caret
-    v
-
-yank -d
-    yd
-
-yank -ds
-    yD
-
-bookmark-add
-    M
-
-set-cmd-text -s :bookmark-load
-    gb
+open -w
+    <ctrl-n>
 
-set-cmd-text -s :bookmark-load -t
-    gB
-
-set-cmd-text -s :bookmark-load -w
-    wB
+enter-mode set_mark
+    `
 
-download-remove --all
-    cd
+enter-mode jump_mark
+    '
 
-follow-selected
-    <Return>
-    <Ctrl-M>
-    <Ctrl-J>
-    <Shift-Return>
-    <Enter>
-    <Shift-Enter>
+yank -p
+    yp
 
-follow-selected -t
-    <Ctrl-Return>
-    <Ctrl-Enter>
+yank -ps
+    yP
 
 [insert]
 # Keybindings for insert mode.
@@ -413,9 +434,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>
+
+paste-primary
+    <shift-ins>
 
 [hint]
 # Keybindings for hint mode.
@@ -425,16 +450,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.
@@ -448,26 +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>
-
-command-accept
-    <Return>
-    <Ctrl-J>
-    <Shift-Return>
+    <tab>
+    <down>
 
 completion-item-del
-    <Ctrl-D>
+    <ctrl-d>
+
+command-accept
+    <return>
+    <ctrl-m>
+    <ctrl-j>
+    <shift-return>
+    <enter>
+    <shift-enter>
 
 [prompt]
 # Keybindings for prompts in the status line.
@@ -480,9 +513,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
@@ -493,52 +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>
+    <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
@@ -593,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