[tridactyl] Add mpv bindings for images and videos

This commit is contained in:
Sebastian Schulze 2021-07-13 09:19:04 +02:00
parent e7cd2911fb
commit 967ffd7727
No known key found for this signature in database
GPG Key ID: F6BA63C6A7D3044E
1 changed files with 11 additions and 0 deletions

View File

@ -59,4 +59,15 @@ set hintnames numeric
" Defaults to 300ms but I'm a 'move fast and close the wrong tabs' kinda chap
set hintdelay 100
" A few binds for mpv
bind <Space>i composite hint -Jpipe img src | shellescape | !s xdg-open
bind <Space>o composite hint -Jpipe a href | shellescape | !s xdg-open
bind <Space>m composite hint -Jpipe a href | shellescape | !s mpv --really-quiet
bind <Space>w composite hint -Jpipe img src | shellescape | !s xdg-open
bind <Space>v composite hint -Jpipe a href | shellescape | !s xdg-open
bind <Space>c composite hint -Jpipe href | shellescape | !s tri xdg-open
" vim: set filetype=tridactyl