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.
422 # * `paste-primary`: Paste primary selection at cursor position.
431 # Keybindings for hint mode.
432 # Since normal keypresses are passed through, only special keys are
433 # supported in this mode.
434 # Useful hidden commands to map in this section:
435 # * `follow-hint`: Follow the currently selected hint.
445 hint --rapid links tab-bg
455 # Keybindings for command mode.
456 # Since normal keypresses are passed through, only special keys are
457 # supported in this mode.
458 # Useful hidden commands to map in this section:
459 # * `command-history-prev`: Switch to previous command in history.
460 # * `command-history-next`: Switch to next command in history.
461 # * `completion-item-prev`: Select previous item in completion.
462 # * `completion-item-next`: Select next item in completion.
463 # * `command-accept`: Execute the command currently in the commandline.
491 # Keybindings for prompts in the status line.
492 # You can bind normal keys in this mode, but they will be only active
493 # when a yes/no-prompt is asked. For other prompt modes, you can only
495 # Useful hidden commands to map in this section:
496 # * `prompt-accept`: Confirm the entered value.
497 # * `prompt-yes`: Answer yes to a yes/no question.
498 # * `prompt-no`: Answer no to a yes/no question.
553 rl-backward-delete-char
589 move-to-start-of-next-block
592 move-to-start-of-prev-block
595 move-to-end-of-next-block
598 move-to-end-of-prev-block
601 move-to-start-of-line
607 move-to-start-of-document
610 move-to-end-of-document