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
432 # Keybindings for insert mode.
433 # Since normal keypresses are passed through, only special keys are
434 # supported in this mode.
435 # Useful hidden commands to map in this section:
436 # * `open-editor`: Open a texteditor with the focused field.
437 # * `paste-primary`: Paste primary selection at cursor position.
446 # Keybindings for hint mode.
447 # Since normal keypresses are passed through, only special keys are
448 # supported in this mode.
449 # Useful hidden commands to map in this section:
450 # * `follow-hint`: Follow the currently selected hint.
460 hint --rapid links tab-bg
470 # Keybindings for command mode.
471 # Since normal keypresses are passed through, only special keys are
472 # supported in this mode.
473 # Useful hidden commands to map in this section:
474 # * `command-history-prev`: Switch to previous command in history.
475 # * `command-history-next`: Switch to next command in history.
476 # * `completion-item-prev`: Select previous item in completion.
477 # * `completion-item-next`: Select next item in completion.
478 # * `command-accept`: Execute the command currently in the commandline.
506 # Keybindings for prompts in the status line.
507 # You can bind normal keys in this mode, but they will be only active
508 # when a yes/no-prompt is asked. For other prompt modes, you can only
510 # Useful hidden commands to map in this section:
511 # * `prompt-accept`: Confirm the entered value.
512 # * `prompt-yes`: Answer yes to a yes/no question.
513 # * `prompt-no`: Answer no to a yes/no question.
568 rl-backward-delete-char
604 move-to-start-of-next-block
607 move-to-start-of-prev-block
610 move-to-end-of-next-block
613 move-to-end-of-prev-block
616 move-to-start-of-line
622 move-to-start-of-document
625 move-to-end-of-document