dotfiles/qutebrowser/config/bindings.py

20 lines
649 B
Python
Raw Normal View History

2021-01-28 21:23:04 +00:00
bind = {
'<Ctrl-q>': 'close',
'<Ctrl-r>': 'spawn -u readability',
'<Ctrl-w>': 'tab-close',
2021-05-18 16:50:56 +00:00
'<Alt+f>' : 'config-cycle hints.chars qwerasdf asdfghjkl',
2021-01-28 21:23:04 +00:00
',': 'hint links run mpv {hint-url}',
2022-01-12 23:02:54 +00:00
'm': 'mpv {url}',
2021-01-28 21:23:04 +00:00
's1': 'download-open',
'sa': 'open -t archive.is/?run=1&url={url}',
2022-01-20 05:06:06 +00:00
'sc': 'toggle-dark',
2021-01-28 21:23:04 +00:00
'sd': "spawn fish -c 'dl; open (ls | rofi -dmenu -b -i || exit 0)'",
'sg': 'debug-dump-page ~/Downloads/dump.html',
2021-01-28 21:23:04 +00:00
'sq': 'spawn -u qr',
'sr': 'remove-sticky',
'st': 'config-cycle content.proxy socks://localhost:9050/ system',
2021-04-13 14:05:25 +00:00
'T' : 'tab-next'
2021-01-28 21:23:04 +00:00
}
for a, b in bind.items():
config.bind(a, b)