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.
32 # Note that default keybindings are always bound, and need to be explicitly
33 # unbound if you wish to remove them:
47 # Keybindings for normal mode.
49 clear-keychain ;; search
55 set-cmd-text :open {url}
58 set-cmd-text -s :open -t
61 set-cmd-text :open -t {url}
64 set-cmd-text -s :open -b
67 set-cmd-text :open -b {url}
70 set-cmd-text -s :open -w
73 set-cmd-text :open -w {url}
162 hint links fill :open {hint-url}
165 hint links fill :open -t {hint-url}
168 hint links fill :open -b {hint-url}
174 hint links yank-primary
177 hint --rapid links tab-bg
180 hint --rapid links window
244 open -t -- {clipboard}
250 open -w -- {clipboard}
259 set-cmd-text -s :quickmark-load
262 set-cmd-text -s :quickmark-load -t
265 set-cmd-text -s :quickmark-load -w
271 set-cmd-text -s :bookmark-load
274 set-cmd-text -s :bookmark-load -t
277 set-cmd-text -s :bookmark-load -w
286 set-cmd-text -s :set -t
289 set-cmd-text -s :bind
343 enter-mode passthrough
449 # Keybindings for insert mode.
450 # Since normal keypresses are passed through, only special keys are
451 # supported in this mode.
452 # Useful hidden commands to map in this section:
453 # * `open-editor`: Open a texteditor with the focused field.
454 # * `paste-primary`: Paste primary selection at cursor position.
459 insert-text {primary}
463 # Keybindings for hint mode.
464 # Since normal keypresses are passed through, only special keys are
465 # supported in this mode.
466 # Useful hidden commands to map in this section:
467 # * `follow-hint`: Follow the currently selected hint.
477 hint --rapid links tab-bg
487 # Keybindings for command mode.
488 # Since normal keypresses are passed through, only special keys are
489 # supported in this mode.
490 # Useful hidden commands to map in this section:
491 # * `command-history-prev`: Switch to previous command in history.
492 # * `command-history-next`: Switch to next command in history.
493 # * `completion-item-focus`: Select another item in completion.
494 # * `command-accept`: Execute the command currently in the commandline.
502 completion-item-focus prev
506 completion-item-focus next
521 completion-item-focus next-category
524 completion-item-focus prev-category
528 # Keybindings for prompts in the status line.
529 # You can bind normal keys in this mode, but they will be only active
530 # when a yes/no-prompt is asked. For other prompt modes, you can only
532 # Useful hidden commands to map in this section:
533 # * `prompt-accept`: Confirm the entered value.
534 # * `prompt-accept yes`: Answer yes to a yes/no question.
535 # * `prompt-accept no`: Answer no to a yes/no question.
586 rl-backward-kill-word
595 rl-backward-delete-char
631 move-to-start-of-next-block
634 move-to-start-of-prev-block
637 move-to-end-of-next-block
640 move-to-end-of-prev-block
643 move-to-start-of-line
649 move-to-start-of-document
652 move-to-end-of-document