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:
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
245 open -t -- {clipboard}
251 open -w -- {clipboard}
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
450 # Keybindings for insert mode.
451 # Since normal keypresses are passed through, only special keys are
452 # supported in this mode.
453 # Useful hidden commands to map in this section:
454 # * `open-editor`: Open a texteditor with the focused field.
455 # * `paste-primary`: Paste primary selection at cursor position.
460 insert-text {primary}
464 # Keybindings for hint mode.
465 # Since normal keypresses are passed through, only special keys are
466 # supported in this mode.
467 # Useful hidden commands to map in this section:
468 # * `follow-hint`: Follow the currently selected hint.
478 hint --rapid links tab-bg
488 # Keybindings for command mode.
489 # Since normal keypresses are passed through, only special keys are
490 # supported in this mode.
491 # Useful hidden commands to map in this section:
492 # * `command-history-prev`: Switch to previous command in history.
493 # * `command-history-next`: Switch to next command in history.
494 # * `completion-item-focus`: Select another item in completion.
495 # * `command-accept`: Execute the command currently in the commandline.
503 completion-item-focus prev
507 completion-item-focus next
522 completion-item-focus next-category
525 completion-item-focus prev-category
529 # Keybindings for prompts in the status line.
530 # You can bind normal keys in this mode, but they will be only active
531 # when a yes/no-prompt is asked. For other prompt modes, you can only
533 # Useful hidden commands to map in this section:
534 # * `prompt-accept`: Confirm the entered value.
535 # * `prompt-yes`: Answer yes to a yes/no question.
536 # * `prompt-no`: Answer no to a yes/no question.
587 rl-backward-kill-word
596 rl-backward-delete-char
632 move-to-start-of-next-block
635 move-to-start-of-prev-block
638 move-to-end-of-next-block
641 move-to-end-of-prev-block
644 move-to-start-of-line
650 move-to-start-of-document
653 move-to-end-of-document