etc/config/qutebrowser/keys.conf

657 lines
7.6 KiB
Plaintext
Raw Normal View History

2015-09-22 14:57:02 +00:00
# vim: ft=conf
#
# In this config file, qutebrowser's key bindings are configured.
# The format looks like this:
#
# [keymode]
#
# command
# keychain
# keychain2
# ...
#
# All blank lines and lines starting with '#' are ignored.
# Inline-comments are not permitted.
#
# keymode is a comma separated list of modes in which the key binding should be
# active. If keymode starts with !, the key binding is active in all modes
# except the listed modes.
#
# For special keys (can't be part of a keychain), enclose them in `<`...`>`.
# For modifiers, you can use either `-` or `+` as delimiters, and these names:
#
# * Control: `Control`, `Ctrl`
# * Meta: `Meta`, `Windows`, `Mod4`
# * Alt: `Alt`, `Mod1`
# * Shift: `Shift`
#
# For simple keys (no `<>`-signs), a capital letter means the key is pressed
# with Shift. For special keys (with `<>`-signs), you need to explicitly add
# `Shift-` to match a key pressed with shift. You can bind multiple commands
# by separating them with `;;`.
2016-01-16 06:58:13 +00:00
#
# Note that default keybindings are always bound, and need to be explicitly
# unbound if you wish to remove them:
#
# <unbound>
# keychain
# keychain2
# ...
2015-09-22 14:57:02 +00:00
[!normal]
clear-keychain ;; leave-mode
2016-06-19 12:10:39 +00:00
<escape>
<ctrl-[>
2015-09-22 14:57:02 +00:00
[normal]
# Keybindings for normal mode.
2015-09-22 15:30:26 +00:00
spawn mpv {url}
x
hint links spawn mpv {hint-url}
;x
2015-09-22 14:57:02 +00:00
clear-keychain ;; search
2016-06-19 12:10:39 +00:00
<escape>
2015-09-22 14:57:02 +00:00
set-cmd-text -s :open
o
set-cmd-text :open {url}
go
set-cmd-text -s :open -t
O
set-cmd-text :open -t {url}
gO
set-cmd-text -s :open -b
xo
set-cmd-text :open -b {url}
xO
set-cmd-text -s :open -w
wo
set-cmd-text :open -w {url}
wO
open -t
ga
2016-06-19 12:10:39 +00:00
<ctrl-t>
2015-09-22 14:57:02 +00:00
tab-close
d
2016-06-19 12:10:39 +00:00
<ctrl-w>
2015-09-22 14:57:02 +00:00
tab-close -o
D
tab-only
co
tab-focus
J
gt
tab-move
gm
tab-move -
gl
tab-move +
gr
tab-prev
K
gT
tab-clone
gC
reload
r
reload -f
R
back
H
back -t
th
back -w
wh
forward
L
forward -t
tl
forward -w
wl
fullscreen
2016-06-19 12:10:39 +00:00
<f11>
2015-09-22 14:57:02 +00:00
hint
f
hint all tab
F
hint all window
wf
hint all tab-bg
;b
hint all tab-fg
;f
hint all hover
;h
hint images
;i
hint images tab
;I
hint images tab-bg
.i
hint links fill ":open {hint-url}"
;o
hint links fill ":open -t {hint-url}"
;O
hint links fill ":open -b {hint-url}"
.o
hint links yank
;y
hint links yank-primary
;Y
hint --rapid links tab-bg
;r
hint --rapid links window
;R
hint links download
;d
scroll left
h
scroll down
j
scroll up
k
scroll right
l
undo
u
2016-06-19 12:10:39 +00:00
<ctrl-shift-t>
2015-09-22 14:57:02 +00:00
scroll-perc 0
gg
scroll-perc
G
search-next
n
search-prev
N
enter-mode insert
i
enter-mode caret
v
yank
yy
yank -s
yY
yank -t
yt
yank -ts
yT
yank -d
yd
yank -ds
yD
paste
pp
paste -s
pP
paste -t
Pp
paste -ts
PP
paste -w
wp
paste -ws
wP
quickmark-save
m
set-cmd-text -s :quickmark-load
b
set-cmd-text -s :quickmark-load -t
B
set-cmd-text -s :quickmark-load -w
wb
bookmark-add
M
set-cmd-text -s :bookmark-load
gb
set-cmd-text -s :bookmark-load -t
gB
set-cmd-text -s :bookmark-load -w
wB
save
sf
set-cmd-text -s :set
ss
set-cmd-text -s :set -t
sl
set-cmd-text -s :set keybind
sk
zoom-out
-
zoom-in
+
zoom
=
navigate prev
[[
navigate next
]]
navigate prev -t
{{
navigate next -t
}}
navigate up
gu
navigate up -t
gU
navigate increment
2016-06-19 12:10:39 +00:00
<ctrl-a>
2015-09-22 14:57:02 +00:00
navigate decrement
2016-06-19 12:10:39 +00:00
<ctrl-x>
2015-09-22 14:57:02 +00:00
inspector
wi
download
gd
download-cancel
ad
2016-01-16 06:58:13 +00:00
download-clear
2015-09-22 14:57:02 +00:00
cd
view-source
gf
tab-focus last
2016-06-19 12:10:39 +00:00
<ctrl-tab>
2015-09-22 14:57:02 +00:00
enter-mode passthrough
2016-06-19 12:10:39 +00:00
<ctrl-v>
2015-09-22 14:57:02 +00:00
quit
2016-06-19 12:10:39 +00:00
<ctrl-q>
2015-09-22 14:57:02 +00:00
scroll-page 0 1
2016-06-19 12:10:39 +00:00
<ctrl-f>
2015-09-22 14:57:02 +00:00
scroll-page 0 -1
2016-06-19 12:10:39 +00:00
<ctrl-b>
2015-09-22 14:57:02 +00:00
scroll-page 0 0.5
2016-06-19 12:10:39 +00:00
<ctrl-d>
2015-09-22 14:57:02 +00:00
scroll-page 0 -0.5
2016-06-19 12:10:39 +00:00
<ctrl-u>
2015-09-22 14:57:02 +00:00
tab-focus 1
2016-06-19 12:10:39 +00:00
<alt-1>
2015-09-22 14:57:02 +00:00
tab-focus 2
2016-06-19 12:10:39 +00:00
<alt-2>
2015-09-22 14:57:02 +00:00
tab-focus 3
2016-06-19 12:10:39 +00:00
<alt-3>
2015-09-22 14:57:02 +00:00
tab-focus 4
2016-06-19 12:10:39 +00:00
<alt-4>
2015-09-22 14:57:02 +00:00
tab-focus 5
2016-06-19 12:10:39 +00:00
<alt-5>
2015-09-22 14:57:02 +00:00
tab-focus 6
2016-06-19 12:10:39 +00:00
<alt-6>
2015-09-22 14:57:02 +00:00
tab-focus 7
2016-06-19 12:10:39 +00:00
<alt-7>
2015-09-22 14:57:02 +00:00
tab-focus 8
2016-06-19 12:10:39 +00:00
<alt-8>
2015-09-22 14:57:02 +00:00
tab-focus 9
2016-06-19 12:10:39 +00:00
<alt-9>
2015-09-22 14:57:02 +00:00
home
2016-06-19 12:10:39 +00:00
<ctrl-h>
2015-09-22 14:57:02 +00:00
stop
2016-06-19 12:10:39 +00:00
<ctrl-s>
2015-09-22 14:57:02 +00:00
print
2016-06-19 12:10:39 +00:00
<ctrl-alt-p>
2015-09-22 14:57:02 +00:00
open qute:settings
Ss
follow-selected
2016-06-19 12:10:39 +00:00
<return>
<ctrl-m>
<ctrl-j>
<shift-return>
<enter>
<shift-enter>
2015-09-22 14:57:02 +00:00
follow-selected -t
2016-06-19 12:10:39 +00:00
<ctrl-return>
<ctrl-enter>
open -w
<ctrl-n>
enter-mode set_mark
`
enter-mode jump_mark
'
yank -p
yp
yank -ps
yP
2015-09-22 14:57:02 +00:00
[insert]
# Keybindings for insert mode.
# Since normal keypresses are passed through, only special keys are
# supported in this mode.
# Useful hidden commands to map in this section:
# * `open-editor`: Open a texteditor with the focused field.
2016-04-17 14:07:01 +00:00
# * `paste-primary`: Paste primary selection at cursor position.
2015-09-22 14:57:02 +00:00
open-editor
2016-06-19 12:10:39 +00:00
<ctrl-e>
2015-09-22 14:57:02 +00:00
2016-04-17 14:07:01 +00:00
paste-primary
2016-06-19 12:10:39 +00:00
<shift-ins>
2016-04-17 14:07:01 +00:00
2015-09-22 14:57:02 +00:00
[hint]
# Keybindings for hint mode.
# Since normal keypresses are passed through, only special keys are
# supported in this mode.
# Useful hidden commands to map in this section:
# * `follow-hint`: Follow the currently selected hint.
follow-hint
2016-06-19 12:10:39 +00:00
<return>
<ctrl-m>
<ctrl-j>
<shift-return>
<enter>
<shift-enter>
2015-09-22 14:57:02 +00:00
hint --rapid links tab-bg
2016-06-19 12:10:39 +00:00
<ctrl-r>
2015-09-22 14:57:02 +00:00
hint links
2016-06-19 12:10:39 +00:00
<ctrl-f>
2015-09-22 14:57:02 +00:00
hint all tab-bg
2016-06-19 12:10:39 +00:00
<ctrl-b>
2015-09-22 14:57:02 +00:00
[command]
# Keybindings for command mode.
# Since normal keypresses are passed through, only special keys are
# supported in this mode.
# Useful hidden commands to map in this section:
# * `command-history-prev`: Switch to previous command in history.
# * `command-history-next`: Switch to next command in history.
# * `completion-item-prev`: Select previous item in completion.
# * `completion-item-next`: Select next item in completion.
# * `command-accept`: Execute the command currently in the commandline.
command-history-prev
2016-06-19 12:10:39 +00:00
<ctrl-p>
2015-09-22 14:57:02 +00:00
command-history-next
2016-06-19 12:10:39 +00:00
<ctrl-n>
2015-09-22 14:57:02 +00:00
completion-item-prev
2016-06-19 12:10:39 +00:00
<shift-tab>
<up>
2015-09-22 14:57:02 +00:00
completion-item-next
2016-06-19 12:10:39 +00:00
<tab>
<down>
2015-09-22 14:57:02 +00:00
completion-item-del
2016-06-19 12:10:39 +00:00
<ctrl-d>
2015-09-22 14:57:02 +00:00
command-accept
2016-06-19 12:10:39 +00:00
<return>
<ctrl-m>
<ctrl-j>
<shift-return>
<enter>
<shift-enter>
2015-09-22 14:57:02 +00:00
[prompt]
# Keybindings for prompts in the status line.
# You can bind normal keys in this mode, but they will be only active
# when a yes/no-prompt is asked. For other prompt modes, you can only
# bind special keys.
# Useful hidden commands to map in this section:
# * `prompt-accept`: Confirm the entered value.
# * `prompt-yes`: Answer yes to a yes/no question.
# * `prompt-no`: Answer no to a yes/no question.
prompt-accept
2016-06-19 12:10:39 +00:00
<return>
<ctrl-m>
<ctrl-j>
<shift-return>
<enter>
<shift-enter>
2015-09-22 14:57:02 +00:00
prompt-yes
y
prompt-no
n
[command,prompt]
rl-backward-char
2016-06-19 12:10:39 +00:00
<ctrl-b>
2015-09-22 14:57:02 +00:00
rl-forward-char
2016-06-19 12:10:39 +00:00
<ctrl-f>
2015-09-22 14:57:02 +00:00
rl-backward-word
2016-06-19 12:10:39 +00:00
<alt-b>
2015-09-22 14:57:02 +00:00
rl-forward-word
2016-06-19 12:10:39 +00:00
<alt-f>
2015-09-22 14:57:02 +00:00
rl-beginning-of-line
2016-06-19 12:10:39 +00:00
<ctrl-a>
2015-09-22 14:57:02 +00:00
rl-end-of-line
2016-06-19 12:10:39 +00:00
<ctrl-e>
2015-09-22 14:57:02 +00:00
rl-unix-line-discard
2016-06-19 12:10:39 +00:00
<ctrl-u>
2015-09-22 14:57:02 +00:00
rl-kill-line
2016-06-19 12:10:39 +00:00
<ctrl-k>
2015-09-22 14:57:02 +00:00
rl-kill-word
2016-06-19 12:10:39 +00:00
<alt-d>
2015-09-22 14:57:02 +00:00
rl-unix-word-rubout
2016-06-19 12:10:39 +00:00
<ctrl-w>
<alt-backspace>
2015-09-22 14:57:02 +00:00
rl-yank
2016-06-19 12:10:39 +00:00
<ctrl-y>
2015-09-22 14:57:02 +00:00
rl-delete-char
2016-06-19 12:10:39 +00:00
<ctrl-?>
2015-09-22 14:57:02 +00:00
rl-backward-delete-char
2016-06-19 12:10:39 +00:00
<ctrl-h>
2015-09-22 14:57:02 +00:00
[caret]
toggle-selection
v
2016-06-19 12:10:39 +00:00
<space>
2015-09-22 14:57:02 +00:00
drop-selection
2016-06-19 12:10:39 +00:00
<ctrl-space>
2015-09-22 14:57:02 +00:00
enter-mode normal
c
move-to-next-line
j
move-to-prev-line
k
move-to-next-char
l
move-to-prev-char
h
move-to-end-of-word
e
move-to-next-word
w
move-to-prev-word
b
move-to-start-of-next-block
]
move-to-start-of-prev-block
[
move-to-end-of-next-block
}
move-to-end-of-prev-block
{
move-to-start-of-line
0
move-to-end-of-line
$
move-to-start-of-document
gg
move-to-end-of-document
G
yank-selected -p
Y
yank-selected
y
2016-06-19 12:10:39 +00:00
<return>
<ctrl-m>
<ctrl-j>
<shift-return>
<enter>
<shift-enter>
2015-09-22 14:57:02 +00:00
scroll left
H
scroll down
J
scroll up
K
scroll right
L