]> git.rmz.io Git - dotfiles.git/blob - qutebrowser/keys.conf
qutebrowser: initial config
[dotfiles.git] / qutebrowser / keys.conf
1 # vim: ft=conf
2 #
3 # In this config file, qutebrowser's keybindings are configured.
4 # The format looks like this:
5 #
6 # [keymode]
7 #
8 # command
9 # keychain
10 # keychain2
11 # ...
12 #
13 # All blank lines and lines starting with '#' are ignored.
14 # Inline-comments are not permitted.
15 #
16 # keymode is a comma separated list of modes in which the keybinding should be
17 # active. If keymode starts with !, the keybinding is active in all modes
18 # except the listed modes.
19 #
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:
22 #
23 # * Control: `Control`, `Ctrl`
24 # * Meta: `Meta`, `Windows`, `Mod4`
25 # * Alt: `Alt`, `Mod1`
26 # * Shift: `Shift`
27 #
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 explicitely add
30 # `Shift-` to match a key pressed with shift. You can bind multiple commands
31 # by separating them with `;;`.
32
33 [!normal]
34
35 leave-mode
36 <Escape>
37 <Ctrl-[>
38
39 [normal]
40 # Keybindings for normal mode.
41
42 set-cmd-text ":open "
43 o
44
45 set-cmd-text ":open {url}"
46 go
47
48 set-cmd-text ":open -t "
49 O
50
51 set-cmd-text ":open -t {url}"
52 gO
53
54 set-cmd-text ":open -b "
55 xo
56
57 set-cmd-text ":open -b {url}"
58 xO
59
60 set-cmd-text ":open -w "
61 wo
62
63 set-cmd-text ":open -w {url}"
64 wO
65
66 open -t about:blank
67 <Ctrl-T>
68
69 tab-close
70 d
71 <Ctrl-W>
72
73 tab-close -o
74 D
75
76 tab-only
77 co
78
79 tab-focus
80 T
81
82 tab-move
83 gm
84
85 tab-move -
86 gl
87
88 tab-move +
89 gr
90
91 tab-next
92 J
93 gt
94
95 tab-prev
96 K
97 gT
98
99 tab-clone
100 gC
101
102 reload
103 r
104
105 reload -f
106 R
107
108 back
109 H
110 <Backspace>
111
112 back -t
113 th
114
115 back -w
116 wh
117
118 forward
119 L
120
121 forward -t
122 tl
123
124 forward -w
125 wl
126
127 fullscreen
128 <F11>
129
130 hint
131 f
132
133 hint all tab
134 F
135
136 hint all window
137 wf
138
139 hint all tab-bg
140 ;b
141
142 hint all hover
143 ;h
144
145 hint images
146 ;i
147
148 hint images tab
149 ;I
150
151 hint images tab-bg
152 .i
153
154 hint links fill ":open {hint-url}"
155 ;o
156
157 hint links fill ":open -t {hint-url}"
158 ;O
159
160 hint links fill ":open -b {hint-url}"
161 .o
162
163 hint links yank
164 ;y
165
166 hint links yank-primary
167 ;Y
168
169 hint links rapid
170 ;r
171
172 hint links rapid-win
173 ;R
174
175 hint links download
176 ;d
177
178 scroll -50 0
179 h
180
181 scroll 0 50
182 j
183
184 scroll 0 -50
185 k
186
187 scroll 50 0
188 l
189
190 undo
191 u
192 <Ctrl-Shift-T>
193
194 scroll-perc 0
195 gg
196
197 scroll-perc
198 G
199
200 search-next
201 n
202
203 search-prev
204 N
205
206 enter-mode insert
207 i
208
209 yank
210 yy
211
212 yank -s
213 yY
214
215 yank -t
216 yt
217
218 yank -ts
219 yT
220
221 paste
222 pp
223
224 paste -s
225 pP
226
227 paste -t
228 Pp
229
230 paste -ts
231 PP
232
233 paste -w
234 wp
235
236 paste -ws
237 wP
238
239 quickmark-save
240 m
241
242 set-cmd-text ":quickmark-load "
243 b
244
245 set-cmd-text ":quickmark-load -t "
246 B
247
248 set-cmd-text ":quickmark-load -w"
249 wb
250
251 save
252 sf
253
254 set-cmd-text ":set "
255 ss
256
257 set-cmd-text ":set -t "
258 sl
259
260 set-cmd-text ":set keybind "
261 sk
262
263 zoom-out
264 -
265
266 zoom-in
267 +
268
269 zoom
270 =
271
272 navigate prev
273 [[
274
275 navigate next
276 ]]
277
278 navigate prev -t
279 {{
280
281 navigate next -t
282 }}
283
284 navigate up
285 gu
286
287 navigate up -t
288 gU
289
290 navigate increment
291 <Ctrl-A>
292
293 navigate decrement
294 <Ctrl-X>
295
296 inspector
297 wi
298
299 download-page
300 gd
301
302 cancel-download
303 ad
304
305 view-source
306 gf
307
308 tab-focus last
309 <Ctrl-Tab>
310
311 enter-mode passthrough
312 <Ctrl-V>
313
314 quit
315 <Ctrl-Q>
316
317 scroll-page 0 1
318 <Ctrl-F>
319
320 scroll-page 0 -1
321 <Ctrl-B>
322
323 scroll-page 0 0.5
324 <Ctrl-D>
325
326 scroll-page 0 -0.5
327 <Ctrl-U>
328
329 tab-focus 1
330 <Alt-1>
331
332 tab-focus 2
333 <Alt-2>
334
335 tab-focus 3
336 <Alt-3>
337
338 tab-focus 4
339 <Alt-4>
340
341 tab-focus 5
342 <Alt-5>
343
344 tab-focus 6
345 <Alt-6>
346
347 tab-focus 7
348 <Alt-7>
349
350 tab-focus 8
351 <Alt-8>
352
353 tab-focus 9
354 <Alt-9>
355
356 home
357 <Ctrl-h>
358
359 stop
360 <Ctrl-s>
361
362 print
363 <Ctrl-Alt-p>
364
365 open qute:settings
366 Ss
367
368 [insert]
369 # Keybindings for insert mode.
370 # Since normal keypresses are passed through, only special keys are
371 # supported in this mode.
372 # Useful hidden commands to map in this section:
373 # * `open-editor`: Open a texteditor with the focused field.
374
375 open-editor
376 <Ctrl-E>
377
378 [hint]
379 # Keybindings for hint mode.
380 # Since normal keypresses are passed through, only special keys are
381 # supported in this mode.
382 # Useful hidden commands to map in this section:
383 # * `follow-hint`: Follow the currently selected hint.
384
385 follow-hint
386 <Return>
387
388 [passthrough]
389 # Keybindings for passthrough mode.
390 # Since normal keypresses are passed through, only special keys are
391 # supported in this mode.
392
393 [command]
394 # Keybindings for command mode.
395 # Since normal keypresses are passed through, only special keys are
396 # supported in this mode.
397 # Useful hidden commands to map in this section:
398 # * `command-history-prev`: Switch to previous command in history.
399 # * `command-history-next`: Switch to next command in history.
400 # * `completion-item-prev`: Select previous item in completion.
401 # * `completion-item-next`: Select next item in completion.
402 # * `command-accept`: Execute the command currently in the commandline.
403
404 command-history-prev
405 <Ctrl-P>
406
407 command-history-next
408 <Ctrl-N>
409
410 completion-item-prev
411 <Shift-Tab>
412 <Up>
413
414 completion-item-next
415 <Tab>
416 <Down>
417
418 command-accept
419 <Return>
420 <Ctrl-J>
421 <Shift-Return>
422
423 [prompt]
424 # Keybindings for prompts in the status line.
425 # You can bind normal keys in this mode, but they will be only active
426 # when a yes/no-prompt is asked. For other prompt modes, you can only
427 # bind special keys.
428 # Useful hidden commands to map in this section:
429 # * `prompt-accept`: Confirm the entered value.
430 # * `prompt-yes`: Answer yes to a yes/no question.
431 # * `prompt-no`: Answer no to a yes/no question.
432
433 prompt-accept
434 <Return>
435 <Ctrl-J>
436 <Shift-Return>
437
438 prompt-yes
439 y
440
441 prompt-no
442 n
443
444 [command,prompt]
445
446 rl-backward-char
447 <Ctrl-B>
448
449 rl-forward-char
450 <Ctrl-F>
451
452 rl-backward-word
453 <Alt-B>
454
455 rl-forward-word
456 <Alt-F>
457
458 rl-beginning-of-line
459 <Ctrl-A>
460
461 rl-end-of-line
462 <Ctrl-E>
463
464 rl-unix-line-discard
465 <Ctrl-U>
466
467 rl-kill-line
468 <Ctrl-K>
469
470 rl-kill-word
471 <Alt-D>
472
473 rl-unix-word-rubout
474 <Ctrl-W>
475
476 rl-yank
477 <Ctrl-Y>
478
479 rl-delete-char
480 <Ctrl-?>
481
482 rl-backward-delete-char
483 <Ctrl-H>
484