]> git.rmz.io Git - dotfiles.git/commitdiff
qutebrowser: open hints in mpv using M
authorSamir Benmendil <me@rmz.io>
Mon, 30 Oct 2023 22:07:20 +0000 (22:07 +0000)
committerSamir Benmendil <me@rmz.io>
Tue, 31 Oct 2023 00:06:58 +0000 (00:06 +0000)
qutebrowser/config.py

index f7e0accac45452eed034c21701af938e3f2aa426..cf752b5100e8614e2c5d397cd900c842266e1bbd 100644 (file)
@@ -1989,6 +1989,8 @@ config.bind('gr', 'tab-move +')
 # config.bind('k', 'scroll up')
 # config.bind('l', 'scroll right')
 config.bind('m', 'spawn mpv {url}')
+# TODO: add hints.selector for ytdl compatible links
+config.bind('M', 'hint links spawn mpv {hint-url}')
 # config.bind('n', 'search-next')
 # config.bind('o', 'set-cmd-text -s :open')
 # config.bind('pP', 'open -- {primary}')