new qutebrowser config method
This commit is contained in:
parent
747f5d1904
commit
c74a644e1b
@ -1,266 +0,0 @@
|
||||
# DO NOT edit this file by hand, qutebrowser will overwrite it.
|
||||
# Instead, create a config.py - see :help for details.
|
||||
|
||||
config_version: 1
|
||||
global:
|
||||
bindings.commands:
|
||||
caret:
|
||||
$: move-to-end-of-line
|
||||
'0': move-to-start-of-line
|
||||
<Ctrl-Space>: drop-selection
|
||||
<Escape>: leave-mode
|
||||
<Return>: yank selection
|
||||
<Space>: toggle-selection
|
||||
G: move-to-end-of-document
|
||||
H: scroll left
|
||||
J: scroll down
|
||||
K: scroll up
|
||||
L: scroll right
|
||||
Y: yank selection -s
|
||||
'[': move-to-start-of-prev-block
|
||||
']': move-to-start-of-next-block
|
||||
b: move-to-prev-word
|
||||
c: enter-mode normal
|
||||
e: move-to-end-of-word
|
||||
gg: move-to-start-of-document
|
||||
h: move-to-prev-char
|
||||
j: move-to-next-line
|
||||
k: move-to-prev-line
|
||||
l: move-to-next-char
|
||||
v: toggle-selection
|
||||
w: move-to-next-word
|
||||
y: yank selection
|
||||
'{': move-to-end-of-prev-block
|
||||
'}': move-to-end-of-next-block
|
||||
command:
|
||||
<Alt-B>: rl-backward-word
|
||||
<Alt-Backspace>: rl-backward-kill-word
|
||||
<Alt-D>: rl-kill-word
|
||||
<Alt-F>: rl-forward-word
|
||||
<Ctrl-?>: rl-delete-char
|
||||
<Ctrl-A>: rl-beginning-of-line
|
||||
<Ctrl-B>: rl-backward-char
|
||||
<Ctrl-D>: completion-item-del
|
||||
<Ctrl-E>: rl-end-of-line
|
||||
<Ctrl-F>: rl-forward-char
|
||||
<Ctrl-H>: rl-backward-delete-char
|
||||
<Ctrl-K>: rl-kill-line
|
||||
<Ctrl-N>: command-history-next
|
||||
<Ctrl-P>: command-history-prev
|
||||
<Ctrl-Shift-Tab>: completion-item-focus prev-category
|
||||
<Ctrl-Tab>: completion-item-focus next-category
|
||||
<Ctrl-U>: rl-unix-line-discard
|
||||
<Ctrl-W>: rl-unix-word-rubout
|
||||
<Ctrl-Y>: rl-yank
|
||||
<Down>: completion-item-focus next
|
||||
<Escape>: leave-mode
|
||||
<Return>: command-accept
|
||||
<Shift-Delete>: completion-item-del
|
||||
<Shift-Tab>: completion-item-focus prev
|
||||
<Tab>: completion-item-focus next
|
||||
<Up>: completion-item-focus prev
|
||||
hint:
|
||||
<Ctrl-B>: hint all tab-bg
|
||||
<Ctrl-F>: hint links
|
||||
<Ctrl-R>: hint --rapid links tab-bg
|
||||
<Escape>: leave-mode
|
||||
<Return>: follow-hint
|
||||
insert:
|
||||
<Ctrl-E>: open-editor
|
||||
<Escape>: leave-mode
|
||||
<Shift-Ins>: insert-text {primary}
|
||||
normal:
|
||||
'''': enter-mode jump_mark
|
||||
+: zoom-in
|
||||
'-': zoom-out
|
||||
.: repeat-command
|
||||
/: set-cmd-text /
|
||||
':': 'set-cmd-text :'
|
||||
;I: hint images tab
|
||||
;O: hint links fill :open -t -i {hint-url}
|
||||
;R: hint --rapid links window
|
||||
;Y: hint links yank-primary
|
||||
;b: hint all tab-bg
|
||||
;d: hint links download
|
||||
;f: hint all tab-fg
|
||||
;h: hint all hover
|
||||
;i: hint images
|
||||
;o: hint links fill :open {hint-url}
|
||||
;r: hint --rapid links tab-bg
|
||||
;t: hint inputs
|
||||
;x: hint links spawn --detach mpv {hint-url}
|
||||
;y: hint links yank
|
||||
<Alt-1>: tab-focus 1
|
||||
<Alt-2>: tab-focus 2
|
||||
<Alt-3>: tab-focus 3
|
||||
<Alt-4>: tab-focus 4
|
||||
<Alt-5>: tab-focus 5
|
||||
<Alt-6>: tab-focus 6
|
||||
<Alt-7>: tab-focus 7
|
||||
<Alt-8>: tab-focus 8
|
||||
<Alt-9>: tab-focus -1
|
||||
<Ctrl-A>: navigate increment
|
||||
<Ctrl-Alt-p>: print
|
||||
<Ctrl-B>: scroll-page 0 -1
|
||||
<Ctrl-D>: scroll-page 0 0.5
|
||||
<Ctrl-F5>: reload -f
|
||||
<Ctrl-F>: scroll-page 0 1
|
||||
<Ctrl-N>: open -w
|
||||
<Ctrl-PgDown>: tab-next
|
||||
<Ctrl-PgUp>: tab-prev
|
||||
<Ctrl-Q>: quit
|
||||
<Ctrl-Return>: follow-selected -t
|
||||
<Ctrl-Shift-T>: undo
|
||||
<Ctrl-T>: open -t
|
||||
<Ctrl-Tab>: tab-focus last
|
||||
<Ctrl-U>: scroll-page 0 -0.5
|
||||
<Ctrl-V>: enter-mode passthrough
|
||||
<Ctrl-W>: tab-close
|
||||
<Ctrl-X>: navigate decrement
|
||||
<Ctrl-^>: tab-focus last
|
||||
<Ctrl-h>: home
|
||||
<Ctrl-p>: tab-pin
|
||||
<Ctrl-s>: stop
|
||||
<Escape>: clear-keychain ;; search ;; fullscreen --leave
|
||||
<F11>: fullscreen
|
||||
<F5>: reload
|
||||
<Return>: follow-selected
|
||||
<back>: back
|
||||
<backspace>: back
|
||||
<forward>: forward
|
||||
'=': zoom
|
||||
'?': set-cmd-text ?
|
||||
'@': run-macro
|
||||
B: set-cmd-text -s :quickmark-load -t
|
||||
D: tab-close -o
|
||||
F: hint all tab
|
||||
G: scroll-perc
|
||||
H: back
|
||||
J: tab-next
|
||||
K: tab-prev
|
||||
L: forward
|
||||
M: bookmark-add
|
||||
N: search-prev
|
||||
O: set-cmd-text -s :open -t
|
||||
PP: open -t -- {primary}
|
||||
Pp: open -t -- {clipboard}
|
||||
R: reload -f
|
||||
Ss: open qute://settings
|
||||
T: tab-focus
|
||||
ZQ: quit
|
||||
ZZ: wq
|
||||
'[[': navigate prev
|
||||
']]': navigate next
|
||||
'`': enter-mode set_mark
|
||||
ad: download-cancel
|
||||
b: set-cmd-text -s :quickmark-load
|
||||
cd: download-clear
|
||||
co: tab-only
|
||||
d: tab-close
|
||||
f: hint
|
||||
g$: tab-focus -1
|
||||
g0: tab-focus 1
|
||||
gB: set-cmd-text -s :bookmark-load -t
|
||||
gC: tab-clone
|
||||
gO: set-cmd-text :open -t -i {url:pretty}
|
||||
gU: navigate up -t
|
||||
g^: tab-focus 1
|
||||
ga: open -t
|
||||
gb: set-cmd-text -s :bookmark-load
|
||||
gd: download
|
||||
gf: view-source
|
||||
gg: scroll-perc 0
|
||||
gl: tab-move -
|
||||
gm: tab-move
|
||||
go: set-cmd-text :open {url:pretty}
|
||||
gr: tab-move +
|
||||
gt: set-cmd-text -s :buffer
|
||||
gu: navigate up
|
||||
h: scroll left
|
||||
i: enter-mode insert
|
||||
j: scroll down
|
||||
k: scroll up
|
||||
l: scroll right
|
||||
m: quickmark-save
|
||||
n: search-next
|
||||
o: set-cmd-text -s :open
|
||||
pP: open -- {primary}
|
||||
pp: open -- {clipboard}
|
||||
q: record-macro
|
||||
r: reload
|
||||
sf: save
|
||||
sk: set-cmd-text -s :bind
|
||||
sl: set-cmd-text -s :set -t
|
||||
ss: set-cmd-text -s :set
|
||||
th: back -t
|
||||
tl: forward -t
|
||||
u: undo
|
||||
v: enter-mode caret
|
||||
wB: set-cmd-text -s :bookmark-load -w
|
||||
wO: set-cmd-text :open -w {url:pretty}
|
||||
wP: open -w -- {primary}
|
||||
wb: set-cmd-text -s :quickmark-load -w
|
||||
wf: hint all window
|
||||
wh: back -w
|
||||
wi: inspector
|
||||
wl: forward -w
|
||||
wo: set-cmd-text -s :open -w
|
||||
wp: open -w -- {clipboard}
|
||||
x: spawn --detach mpv {url}
|
||||
xO: set-cmd-text :open -b -i {url:pretty}
|
||||
xo: set-cmd-text -s :open -b
|
||||
yD: yank domain -s
|
||||
yP: yank pretty-url -s
|
||||
yT: yank title -s
|
||||
yY: yank -s
|
||||
yd: yank domain
|
||||
yp: yank pretty-url
|
||||
yt: yank title
|
||||
yy: yank
|
||||
'{{': navigate prev -t
|
||||
'}}': navigate next -t
|
||||
passthrough:
|
||||
<Escape>: leave-mode
|
||||
prompt:
|
||||
<Alt-B>: rl-backward-word
|
||||
<Alt-Backspace>: rl-backward-kill-word
|
||||
<Alt-D>: rl-kill-word
|
||||
<Alt-F>: rl-forward-word
|
||||
<Ctrl-?>: rl-delete-char
|
||||
<Ctrl-A>: rl-beginning-of-line
|
||||
<Ctrl-B>: rl-backward-char
|
||||
<Ctrl-E>: rl-end-of-line
|
||||
<Ctrl-F>: rl-forward-char
|
||||
<Ctrl-H>: rl-backward-delete-char
|
||||
<Ctrl-K>: rl-kill-line
|
||||
<Ctrl-U>: rl-unix-line-discard
|
||||
<Ctrl-W>: rl-unix-word-rubout
|
||||
<Ctrl-X>: prompt-open-download
|
||||
<Ctrl-Y>: rl-yank
|
||||
<Down>: prompt-item-focus next
|
||||
<Escape>: leave-mode
|
||||
<Return>: prompt-accept
|
||||
<Shift-Tab>: prompt-item-focus prev
|
||||
<Tab>: prompt-item-focus next
|
||||
<Up>: prompt-item-focus prev
|
||||
n: prompt-accept no
|
||||
y: prompt-accept yes
|
||||
register:
|
||||
<Escape>: leave-mode
|
||||
content.ssl_strict: true
|
||||
downloads.location.suggestion: both
|
||||
editor.command:
|
||||
- st
|
||||
- -e
|
||||
- nvim
|
||||
- '{}'
|
||||
hints.auto_follow: full-match
|
||||
hints.dictionary: /usr/share/dict/mnemonic
|
||||
hints.mode: word
|
||||
new_instance_open_target: tab-silent
|
||||
tabs.background: true
|
||||
tabs.last_close: default-page
|
||||
tabs.show: multiple
|
||||
url.default_page: https://calendar.google.com
|
||||
url.start_pages:
|
||||
- https://calendar.google.com
|
27
config/qutebrowser/config.py
Normal file
27
config/qutebrowser/config.py
Normal file
@ -0,0 +1,27 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
config.load_autoconfig = False
|
||||
|
||||
c.completion.shrink = True
|
||||
c.confirm_quit = ["downloads"]
|
||||
# c.content.developer_extras = True
|
||||
c.content.ssl_strict = True
|
||||
c.downloads.location.directory = "/data/temporary"
|
||||
c.downloads.location.suggestion = "both"
|
||||
c.downloads.open_dispatcher = "rifle"
|
||||
c.editor.command = ["st", "-e", "nvim", "'{}'"]
|
||||
c.hints.auto_follow = "full-match"
|
||||
c.hints.dictionary = "/usr/share/dict/mnemonic"
|
||||
c.hints.mode = "word"
|
||||
c.new_instance_open_target = "tab-silent"
|
||||
c.session_default_name = "default"
|
||||
c.tabs.background = True
|
||||
c.tabs.last_close = "close"
|
||||
c.tabs.show = "multiple"
|
||||
c.url.default_page = "https://calendar.google.com"
|
||||
c.url.start_pages = ["https://calendar.google.com"]
|
||||
|
||||
config.bind("<backspace>", "back", mode="normal")
|
||||
config.bind("x", "spawn --detach mpv {url}", mode="normal")
|
||||
config.bind(";x", "hint links spawn --detach mpv {hint-url}", mode="normal")
|
||||
config.bind("z", 'enter-mode insert ;; jseval --quiet var inputs = document.getElementsByTagName("input"); for(var i = 0; i < inputs.length; i++) { var hidden = false; for(var j = 0; j < inputs[i].attributes.length; j++) { hidden = hidden || inputs[i].attributes[j].value.includes("hidden"); }; if(!hidden) { inputs[i].focus(); break; } }', mode="normal")
|
@ -1,710 +0,0 @@
|
||||
# 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.
|
||||
#
|
||||
# Note that default keybindings are always bound, and need to be explicitly
|
||||
# unbound if you wish to remove them:
|
||||
#
|
||||
# <unbound>
|
||||
# keychain
|
||||
# keychain2
|
||||
# ...
|
||||
|
||||
[!normal]
|
||||
|
||||
leave-mode
|
||||
<escape>
|
||||
<ctrl-[>
|
||||
|
||||
[normal]
|
||||
# Keybindings for normal mode.
|
||||
|
||||
clear-keychain ;; search ;; fullscreen --leave
|
||||
<escape>
|
||||
|
||||
set-cmd-text -s :open
|
||||
o
|
||||
|
||||
set-cmd-text :goto {url}
|
||||
go
|
||||
|
||||
set-cmd-text -s :open -t
|
||||
O
|
||||
|
||||
set-cmd-text :goto -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
|
||||
<ctrl-t>
|
||||
|
||||
tab-close
|
||||
d
|
||||
<ctrl-w>
|
||||
|
||||
tab-close -o
|
||||
D
|
||||
|
||||
tab-only
|
||||
co
|
||||
|
||||
tab-focus
|
||||
T
|
||||
|
||||
tab-move
|
||||
gm
|
||||
|
||||
tab-move -
|
||||
gl
|
||||
|
||||
tab-move +
|
||||
gr
|
||||
|
||||
tab-next
|
||||
J
|
||||
gt
|
||||
|
||||
tab-prev
|
||||
K
|
||||
gT
|
||||
|
||||
tab-clone
|
||||
gC
|
||||
|
||||
reload
|
||||
r
|
||||
|
||||
reload -f
|
||||
R
|
||||
|
||||
back
|
||||
H
|
||||
<backspace>
|
||||
|
||||
back -t
|
||||
th
|
||||
|
||||
back -w
|
||||
wh
|
||||
|
||||
forward
|
||||
L
|
||||
|
||||
forward -t
|
||||
tl
|
||||
|
||||
forward -w
|
||||
wl
|
||||
|
||||
fullscreen
|
||||
<f11>
|
||||
|
||||
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
|
||||
<ctrl-shift-t>
|
||||
|
||||
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 title
|
||||
yt
|
||||
|
||||
yank title -s
|
||||
yT
|
||||
|
||||
yank domain
|
||||
yd
|
||||
|
||||
yank domain -s
|
||||
yD
|
||||
|
||||
open -- {clipboard}
|
||||
pp
|
||||
|
||||
open -- {primary}
|
||||
pP
|
||||
|
||||
open -t -- {clipboard}
|
||||
Pp
|
||||
|
||||
open -t -- {primary}
|
||||
PP
|
||||
|
||||
open -w -- {clipboard}
|
||||
wp
|
||||
|
||||
open -w -- {primary}
|
||||
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
|
||||
|
||||
save
|
||||
sf
|
||||
|
||||
set-cmd-text -s :set
|
||||
ss
|
||||
|
||||
set-cmd-text -s :set -t
|
||||
sl
|
||||
|
||||
set-cmd-text -s :bind
|
||||
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
|
||||
<ctrl-a>
|
||||
|
||||
navigate decrement
|
||||
<ctrl-x>
|
||||
|
||||
inspector
|
||||
wi
|
||||
|
||||
download
|
||||
gd
|
||||
|
||||
download-cancel
|
||||
ad
|
||||
|
||||
download-clear
|
||||
cd
|
||||
|
||||
view-source
|
||||
gf
|
||||
|
||||
tab-focus last
|
||||
<ctrl-tab>
|
||||
|
||||
enter-mode passthrough
|
||||
<ctrl-v>
|
||||
|
||||
quit
|
||||
<ctrl-q>
|
||||
|
||||
scroll-page 0 1
|
||||
<ctrl-f>
|
||||
|
||||
scroll-page 0 -1
|
||||
<ctrl-b>
|
||||
|
||||
scroll-page 0 0.5
|
||||
<ctrl-d>
|
||||
|
||||
scroll-page 0 -0.5
|
||||
<ctrl-u>
|
||||
|
||||
tab-focus 1
|
||||
<alt-1>
|
||||
|
||||
tab-focus 2
|
||||
<alt-2>
|
||||
|
||||
tab-focus 3
|
||||
<alt-3>
|
||||
|
||||
tab-focus 4
|
||||
<alt-4>
|
||||
|
||||
tab-focus 5
|
||||
<alt-5>
|
||||
|
||||
tab-focus 6
|
||||
<alt-6>
|
||||
|
||||
tab-focus 7
|
||||
<alt-7>
|
||||
|
||||
tab-focus 8
|
||||
<alt-8>
|
||||
|
||||
tab-focus 9
|
||||
<alt-9>
|
||||
|
||||
home
|
||||
<ctrl-h>
|
||||
|
||||
stop
|
||||
<ctrl-s>
|
||||
|
||||
print
|
||||
<ctrl-alt-p>
|
||||
|
||||
open qute:settings
|
||||
Ss
|
||||
|
||||
follow-selected
|
||||
<return>
|
||||
<ctrl-m>
|
||||
<ctrl-j>
|
||||
<shift-return>
|
||||
<enter>
|
||||
<shift-enter>
|
||||
|
||||
follow-selected -t
|
||||
<ctrl-return>
|
||||
<ctrl-enter>
|
||||
|
||||
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
|
||||
|
||||
open -w
|
||||
<ctrl-n>
|
||||
|
||||
enter-mode set_mark
|
||||
`
|
||||
|
||||
enter-mode jump_mark
|
||||
'
|
||||
|
||||
yank pretty-url
|
||||
yp
|
||||
|
||||
yank pretty-url -s
|
||||
yP
|
||||
|
||||
hint inputs
|
||||
;t
|
||||
|
||||
repeat-command
|
||||
.
|
||||
|
||||
set-cmd-text /
|
||||
/
|
||||
|
||||
set-cmd-text ?
|
||||
?
|
||||
|
||||
set-cmd-text :
|
||||
:
|
||||
|
||||
enter-mode insert ;; jseval --quiet var inputs = document.getElementsByTagName("input"); for(var i = 0; i < inputs.length; i++) { var hidden = false; for(var j = 0; j < inputs[i].attributes.length; j++) { hidden = hidden || inputs[i].attributes[j].value.includes("hidden"); }; if(!hidden) { inputs[i].focus(); break; } }
|
||||
z
|
||||
|
||||
record-macro
|
||||
q
|
||||
|
||||
run-macro
|
||||
@
|
||||
|
||||
wq
|
||||
ZZ
|
||||
|
||||
tab-pin
|
||||
<ctrl-p>
|
||||
|
||||
tab-focus -1
|
||||
g$
|
||||
|
||||
spawn --detach mpv {url}
|
||||
x
|
||||
|
||||
hint links spawn --detach mpv {hint-url}
|
||||
;x
|
||||
|
||||
[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.
|
||||
# * `paste-primary`: Paste primary selection at cursor position.
|
||||
|
||||
open-editor
|
||||
<ctrl-e>
|
||||
|
||||
insert-text {primary}
|
||||
<shift-ins>
|
||||
|
||||
[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
|
||||
<return>
|
||||
<ctrl-m>
|
||||
<ctrl-j>
|
||||
<shift-return>
|
||||
<enter>
|
||||
<shift-enter>
|
||||
|
||||
hint --rapid links tab-bg
|
||||
<ctrl-r>
|
||||
|
||||
hint links
|
||||
<ctrl-f>
|
||||
|
||||
hint all tab-bg
|
||||
<ctrl-b>
|
||||
|
||||
[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-focus`: Select another item in completion.
|
||||
# * `command-accept`: Execute the command currently in the commandline.
|
||||
|
||||
command-history-prev
|
||||
<ctrl-p>
|
||||
|
||||
command-history-next
|
||||
<ctrl-n>
|
||||
|
||||
completion-item-focus prev
|
||||
<shift-tab>
|
||||
<up>
|
||||
|
||||
completion-item-focus next
|
||||
<tab>
|
||||
<down>
|
||||
|
||||
command-accept
|
||||
<return>
|
||||
<ctrl-m>
|
||||
<ctrl-j>
|
||||
<shift-return>
|
||||
<enter>
|
||||
<shift-enter>
|
||||
|
||||
completion-item-del
|
||||
<ctrl-d>
|
||||
|
||||
completion-item-focus next-category
|
||||
<ctrl-tab>
|
||||
|
||||
completion-item-focus prev-category
|
||||
<ctrl-shift-tab>
|
||||
|
||||
[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-accept yes`: Answer yes to a yes/no question.
|
||||
# * `prompt-accept no`: Answer no to a yes/no question.
|
||||
|
||||
prompt-accept
|
||||
<return>
|
||||
<ctrl-m>
|
||||
<ctrl-j>
|
||||
<shift-return>
|
||||
<enter>
|
||||
<shift-enter>
|
||||
|
||||
prompt-accept yes
|
||||
y
|
||||
|
||||
prompt-accept no
|
||||
n
|
||||
|
||||
prompt-open-download
|
||||
<ctrl-x>
|
||||
|
||||
prompt-item-focus prev
|
||||
<shift-tab>
|
||||
<up>
|
||||
|
||||
prompt-item-focus next
|
||||
<tab>
|
||||
<down>
|
||||
|
||||
[command,prompt]
|
||||
|
||||
rl-backward-char
|
||||
<ctrl-b>
|
||||
|
||||
rl-forward-char
|
||||
<ctrl-f>
|
||||
|
||||
rl-backward-word
|
||||
<alt-b>
|
||||
|
||||
rl-forward-word
|
||||
<alt-f>
|
||||
|
||||
rl-beginning-of-line
|
||||
<ctrl-a>
|
||||
|
||||
rl-end-of-line
|
||||
<ctrl-e>
|
||||
|
||||
rl-unix-line-discard
|
||||
<ctrl-u>
|
||||
|
||||
rl-kill-line
|
||||
<ctrl-k>
|
||||
|
||||
rl-kill-word
|
||||
<alt-d>
|
||||
|
||||
rl-unix-word-rubout
|
||||
<ctrl-w>
|
||||
|
||||
rl-backward-kill-word
|
||||
<alt-backspace>
|
||||
|
||||
rl-yank
|
||||
<ctrl-y>
|
||||
|
||||
rl-delete-char
|
||||
<ctrl-?>
|
||||
|
||||
rl-backward-delete-char
|
||||
<ctrl-h>
|
||||
|
||||
[caret]
|
||||
|
||||
toggle-selection
|
||||
v
|
||||
<space>
|
||||
|
||||
drop-selection
|
||||
<ctrl-space>
|
||||
|
||||
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 selection -s
|
||||
Y
|
||||
|
||||
yank selection
|
||||
y
|
||||
<return>
|
||||
<ctrl-m>
|
||||
<ctrl-j>
|
||||
<shift-return>
|
||||
<enter>
|
||||
<shift-enter>
|
||||
|
||||
scroll left
|
||||
H
|
||||
|
||||
scroll down
|
||||
J
|
||||
|
||||
scroll up
|
||||
K
|
||||
|
||||
scroll right
|
||||
L
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user