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.
52 set-cmd-text :open {url}
55 set-cmd-text -s :open -t
58 set-cmd-text :open -t {url}
61 set-cmd-text -s :open -b
64 set-cmd-text :open -b {url}
67 set-cmd-text -s :open -w
70 set-cmd-text :open -w {url}
159 hint links fill :open {hint-url}
162 hint links fill :open -t {hint-url}
165 hint links fill :open -b {hint-url}
171 hint links yank-primary
174 hint --rapid links tab-bg
177 hint --rapid links window
241 open -t -- {clipboard}
247 open -w -- {clipboard}
253 set-cmd-text -s :quickmark-load
256 set-cmd-text -s :quickmark-load -t
259 set-cmd-text -s :quickmark-load -w
262 set-cmd-text -s :bookmark-load
265 set-cmd-text -s :bookmark-load -t
268 set-cmd-text -s :bookmark-load -w
277 set-cmd-text -s :set -t
280 set-cmd-text -s :bind
334 enter-mode passthrough
448 hint links spawn mpv {url}
451 clear-keychain ;; search ;; fullscreen --leave ;; fake-key <escape>
454 clear-keychain ;; search ;; fullscreen --leave
461 # Keybindings for insert mode.
462 # Since normal keypresses are passed through, only special keys are
463 # supported in this mode.
464 # Useful hidden commands to map in this section:
465 # * `open-editor`: Open a texteditor with the focused field.
466 # * `paste-primary`: Paste primary selection at cursor position.
471 insert-text {primary}
475 # Keybindings for hint mode.
476 # Since normal keypresses are passed through, only special keys are
477 # supported in this mode.
478 # Useful hidden commands to map in this section:
479 # * `follow-hint`: Follow the currently selected hint.
489 hint --rapid links tab-bg
499 # Keybindings for command mode.
500 # Since normal keypresses are passed through, only special keys are
501 # supported in this mode.
502 # Useful hidden commands to map in this section:
503 # * `command-history-prev`: Switch to previous command in history.
504 # * `command-history-next`: Switch to next command in history.
505 # * `completion-item-focus`: Select another item in completion.
506 # * `command-accept`: Execute the command currently in the commandline.
514 completion-item-focus prev
518 completion-item-focus next
533 completion-item-focus next-category
536 completion-item-focus prev-category
540 # Keybindings for prompts in the status line.
541 # You can bind normal keys in this mode, but they will be only active
542 # when a yes/no-prompt is asked. For other prompt modes, you can only
544 # Useful hidden commands to map in this section:
545 # * `prompt-accept`: Confirm the entered value.
546 # * `prompt-accept yes`: Answer yes to a yes/no question.
547 # * `prompt-accept no`: Answer no to a yes/no question.
566 prompt-item-focus prev
570 prompt-item-focus next
606 rl-backward-kill-word
615 rl-backward-delete-char
651 move-to-start-of-next-block
654 move-to-start-of-prev-block
657 move-to-end-of-next-block
660 move-to-end-of-prev-block
663 move-to-start-of-line
669 move-to-start-of-document
672 move-to-end-of-document