]> git.rmz.io Git - dotfiles.git/blobdiff - qutebrowser/config.py
qutebrowser: open hints in mpv using M
[dotfiles.git] / qutebrowser / config.py
index a9066e07ef98bd22bd87e2ce045a65c8cfa08906..cf752b5100e8614e2c5d397cd900c842266e1bbd 100644 (file)
@@ -1818,6 +1818,7 @@ c.url.searchengines = {'DEFAULT':        'https://duckduckgo.com/?t=chakra&q={}'
                        'fpp/confluence': 'https://fppnt.atlassian.net/wiki/search?text={}',
                        'evk':            'https://gitlab.com/search?&scope=issues&group_id=13301433&search={}',
                        'dev':            'https://devdocs.io/#q={}',
                        'fpp/confluence': 'https://fppnt.atlassian.net/wiki/search?text={}',
                        'evk':            'https://gitlab.com/search?&scope=issues&group_id=13301433&search={}',
                        'dev':            'https://devdocs.io/#q={}',
+                       'phind':          'https://www.phind.com/search?q={}',
                       }
 
 ## Page(s) to open at the start.
                       }
 
 ## Page(s) to open at the start.
@@ -1988,6 +1989,8 @@ config.bind('gr', 'tab-move +')
 # config.bind('k', 'scroll up')
 # config.bind('l', 'scroll right')
 config.bind('m', 'spawn mpv {url}')
 # 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}')
 # config.bind('n', 'search-next')
 # config.bind('o', 'set-cmd-text -s :open')
 # config.bind('pP', 'open -- {primary}')