mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-18 14:45:51 +05:30
Qutebrowser passthrough bindings for normal browser operation
This commit is contained in:
parent
8a8531746b
commit
03844a1d63
|
@ -208,11 +208,23 @@ config.bind('<Ctrl-p>', 'fake-key <Up>', mode='normal')
|
|||
config.bind('<Ctrl-n>', 'fake-key <Down>', mode='normal')
|
||||
config.bind('<Ctrl-p>', 'fake-key <Up>', mode='insert')
|
||||
config.bind('<Ctrl-n>', 'fake-key <Down>', mode='insert')
|
||||
config.bind('<Ctrl-p>', 'fake-key <Up>', mode='passthrough')
|
||||
config.bind('<Ctrl-n>', 'fake-key <Down>', mode='passthrough')
|
||||
|
||||
# bindings from vimium
|
||||
config.bind('t', 'open -t')
|
||||
config.bind('x', 'tab-close')
|
||||
config.bind('yf', 'hint links yank')
|
||||
config.bind('<Ctrl-Tab>', 'tab-next')
|
||||
config.bind('<Ctrl-Shift-Tab>', 'tab-prev')
|
||||
|
||||
# passthrough bindings
|
||||
config.bind('<Shift-Escape>', 'mode-leave', mode='passthrough')
|
||||
config.bind('<Ctrl-T>', 'open -t', mode='passthrough')
|
||||
config.bind('<Ctrl-W>', 'tab-close', mode='passthrough')
|
||||
config.bind('<Ctrl-Tab>', 'tab-next', mode='passthrough')
|
||||
config.bind('<Ctrl-Shift-Tab>', 'tab-prev', mode='passthrough')
|
||||
config.bind('<Ctrl-B>', 'cmd-set-text -s :quickmark-load -t', mode='passthrough')
|
||||
|
||||
# spawn external programs
|
||||
config.bind(',m', 'hint links spawn mpv {hint-url}')
|
||||
|
|
Loading…
Reference in a new issue