3 # In this config file, qutebrowser's key bindings are configured.
4 # The format looks like this:
13 # All blank lines and lines starting with '#' are ignored.
14 # Inline-comments are not permitted.
16 # keymode is a comma separated list of modes in which the key binding should be
17 # active. If keymode starts with !, the key binding is active in all modes
18 # except the listed modes.
20 # For special keys (can't be part of a keychain), enclose them in `<`...`>`.
21 # For modifiers, you can use either `-` or `+` as delimiters, and these names:
23 # * Control: `Control`, `Ctrl`
24 # * Meta: `Meta`, `Windows`, `Mod4`
25 # * Alt: `Alt`, `Mod1`
28 # For simple keys (no `<>`-signs), a capital letter means the key is pressed
29 # with Shift. For special keys (with `<>`-signs), you need to explicitly add
30 # `Shift-` to match a key pressed with shift. You can bind multiple commands
31 # by separating them with `;;`.
33 # Note that default keybindings are always bound, and need to be explicitly
34 # unbound if you wish to remove them:
43 clear-keychain ;; leave-mode
48 # Keybindings for normal mode.
50 clear-keychain ;; search
56 set-cmd-text :open {url}
59 set-cmd-text -s :open -t
62 set-cmd-text :open -t {url}
65 set-cmd-text -s :open -b
68 set-cmd-text :open -b {url}
71 set-cmd-text -s :open -w
74 set-cmd-text :open -w {url}
163 hint links fill ":open {hint-url}"
166 hint links fill ":open -t {hint-url}"
169 hint links fill ":open -b {hint-url}"
175 hint links yank-primary
178 hint --rapid links tab-bg
181 hint --rapid links window
260 set-cmd-text -s :quickmark-load
263 set-cmd-text -s :quickmark-load -t
266 set-cmd-text -s :quickmark-load -w
272 set-cmd-text -s :bookmark-load
275 set-cmd-text -s :bookmark-load -t
278 set-cmd-text -s :bookmark-load -w
287 set-cmd-text -s :set -t
290 set-cmd-text -s :set keybind
344 enter-mode passthrough
417 # Keybindings for insert mode.
418 # Since normal keypresses are passed through, only special keys are
419 # supported in this mode.
420 # Useful hidden commands to map in this section:
421 # * `open-editor`: Open a texteditor with the focused field.
427 # Keybindings for hint mode.
428 # Since normal keypresses are passed through, only special keys are
429 # supported in this mode.
430 # Useful hidden commands to map in this section:
431 # * `follow-hint`: Follow the currently selected hint.
441 hint --rapid links tab-bg
451 # Keybindings for command mode.
452 # Since normal keypresses are passed through, only special keys are
453 # supported in this mode.
454 # Useful hidden commands to map in this section:
455 # * `command-history-prev`: Switch to previous command in history.
456 # * `command-history-next`: Switch to next command in history.
457 # * `completion-item-prev`: Select previous item in completion.
458 # * `completion-item-next`: Select next item in completion.
459 # * `command-accept`: Execute the command currently in the commandline.
487 # Keybindings for prompts in the status line.
488 # You can bind normal keys in this mode, but they will be only active
489 # when a yes/no-prompt is asked. For other prompt modes, you can only
491 # Useful hidden commands to map in this section:
492 # * `prompt-accept`: Confirm the entered value.
493 # * `prompt-yes`: Answer yes to a yes/no question.
494 # * `prompt-no`: Answer no to a yes/no question.
549 rl-backward-delete-char
585 move-to-start-of-next-block
588 move-to-start-of-prev-block
591 move-to-end-of-next-block
594 move-to-end-of-prev-block
597 move-to-start-of-line
603 move-to-start-of-document
606 move-to-end-of-document