#
# 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]
# Keybindings for normal mode.
-clear-keychain ;; search
- <escape>
-
set-cmd-text -s :open
o
open -w -- {primary}
wP
-quickmark-save
- m
-
set-cmd-text -s :quickmark-load
b
set-cmd-text -s :quickmark-load -w
wb
-bookmark-add
- M
-
set-cmd-text -s :bookmark-load
gb
set-cmd-text -s :set -t
sl
-set-cmd-text -s :set keybind
+set-cmd-text -s :bind
sk
zoom-out
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
+
+tab-focus -1
+ g$
+
+tab-pin
+ <ctrl-p>
+
[insert]
# Keybindings for insert mode.
# Since normal keypresses are passed through, only special keys are
# 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>
<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