]> git.rmz.io Git - dotfiles.git/blobdiff - qutebrowser/keys.conf
systemd: don't fork ssh-agent
[dotfiles.git] / qutebrowser / keys.conf
index cda490e10acf7c1f1f7307e2296069f6faf76b78..15401d9f2a36445ee6030b86f002f61c633a2ecc 100644 (file)
@@ -27,8 +27,7 @@
 #
 # For simple keys (no `<>`-signs), a capital letter means the key is pressed
 # 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 `;;`.
+# `Shift-` to match a key pressed with shift.
 #
 # Note that default keybindings are always bound, and need to be explicitly
 # unbound if you wish to remove them:
 
 [!normal]
 
-clear-keychain ;; leave-mode
+leave-mode
     <escape>
     <ctrl-[>
 
 [normal]
 # Keybindings for normal mode.
 
-clear-keychain ;; search
-    <escape>
-
 set-cmd-text -s :open
     o
 
@@ -160,13 +156,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
@@ -224,39 +220,36 @@ yank
 yank -s
     yY
 
-yank -t
+yank title
     yt
 
-yank -ts
+yank title -s
     yT
 
-yank -d
+yank domain
     yd
 
-yank -ds
+yank domain -s
     yD
 
-paste
+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
-    m
-
 set-cmd-text -s :quickmark-load
     b
 
@@ -266,9 +259,6 @@ set-cmd-text -s :quickmark-load -t
 set-cmd-text -s :quickmark-load -w
     wb
 
-bookmark-add
-    M
-
 set-cmd-text -s :bookmark-load
     gb
 
@@ -287,7 +277,7 @@ set-cmd-text -s :set
 set-cmd-text -s :set -t
     sl
 
-set-cmd-text -s :set keybind
+set-cmd-text -s :bind
     sk
 
 zoom-out
@@ -422,12 +412,51 @@ enter-mode set_mark
 enter-mode jump_mark
     '
 
-yank -p
+yank pretty-url
     yp
 
-yank -ps
+yank pretty-url -s
     yP
 
+hint inputs
+    ;t
+
+repeat-command
+    .
+
+set-cmd-text /
+    /
+
+set-cmd-text ?
+    ?
+
+set-cmd-text :
+    :
+
+tab-next
+    <ctrl-pgdown>
+
+record-macro
+    q
+
+run-macro
+    @
+
+spawn mpv {url}
+    m
+
+hint links spawn mpv {url}
+    M
+
+clear-keychain ;; search ;; fullscreen --leave ;; fake-key <escape>
+    <escape>
+
+clear-keychain ;; search ;; fullscreen --leave
+    <ctrl-[>
+
+wq
+    ZZ
+
 [insert]
 # Keybindings for insert mode.
 # Since normal keypresses are passed through, only special keys are
@@ -439,7 +468,7 @@ yank -ps
 open-editor
     <ctrl-e>
 
-paste-primary
+insert-text {primary}
     <shift-ins>
 
 [hint]
@@ -473,8 +502,7 @@ 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
@@ -483,11 +511,11 @@ command-history-prev
 command-history-next
     <ctrl-n>
 
-completion-item-prev
+completion-item-focus prev
     <shift-tab>
     <up>
 
-completion-item-next
+completion-item-focus next
     <tab>
     <down>
 
@@ -502,6 +530,12 @@ command-accept
     <enter>
     <shift-enter>
 
+completion-item-focus next-category
+    <ctrl-tab>
+
+completion-item-focus prev-category
+    <ctrl-shift-tab>
+
 [prompt]
 # Keybindings for prompts in the status line.
 # You can bind normal keys in this mode, but they will be only active
@@ -509,8 +543,8 @@ command-accept
 # bind special keys.
 # Useful hidden commands to map in this section:
 #  * `prompt-accept`: Confirm the entered value.
-#  * `prompt-yes`: Answer yes to a yes/no question.
-#  * `prompt-no`: Answer no to a yes/no question.
+#  * `prompt-accept yes`: Answer yes to a yes/no question.
+#  * `prompt-accept no`: Answer no to a yes/no question.
 
 prompt-accept
     <return>
@@ -520,12 +554,23 @@ prompt-accept
     <enter>
     <shift-enter>
 
-prompt-yes
+prompt-accept yes
     y
 
-prompt-no
+prompt-accept no
     n
 
+prompt-open-download
+    <ctrl-x>
+
+prompt-item-focus prev
+    <shift-tab>
+    <up>
+
+prompt-item-focus next
+    <tab>
+    <down>
+
 [command,prompt]
 
 rl-backward-char
@@ -557,6 +602,8 @@ rl-kill-word
 
 rl-unix-word-rubout
     <ctrl-w>
+
+rl-backward-kill-word
     <alt-backspace>
 
 rl-yank
@@ -625,10 +672,10 @@ 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>