add mpv and tab toggle keys to qutebrowser

This commit is contained in:
Marty Oehme 2019-05-16 16:14:09 +02:00
parent 96be62a83b
commit 4e0ceb06f0

View file

@ -19,3 +19,16 @@ config.set('content.javascript.enabled', True, 'chrome://*/*')
config.set('content.javascript.enabled', True, 'qute://*/*') config.set('content.javascript.enabled', True, 'qute://*/*')
c.editor.command = ["alacritty", "-e", "nvim", "-f", "{file}"] c.editor.command = ["alacritty", "-e", "nvim", "-f", "{file}"]
# ideas:
# have key to show/hide tab-bar
# TODO ideally this should toggle on one command, not require two different ones
config.bind('tt', 'set tabs.show switching')
config.bind('tT', 'set tabs.show always')
# have tab bar on the right, not on the top
c.tabs.position = "right"
# bind mpv to play the current page/links, using a single instance which queues the next link passed
config.bind('M', 'spawn umpv {url}')
config.bind('m', 'hint links spawn umpv {hint-url}')