summaryrefslogtreecommitdiffstats
path: root/.config/tridactyl/tridactylrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/tridactyl/tridactylrc')
-rw-r--r--.config/tridactyl/tridactylrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/tridactyl/tridactylrc b/.config/tridactyl/tridactylrc
index d08127f..bb717e3 100644
--- a/.config/tridactyl/tridactylrc
+++ b/.config/tridactyl/tridactylrc
@@ -25,6 +25,11 @@ bind ;<Space> fillcmdline_notrail
bind ;v hint -; video
+command mpvmp4 js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('mpv --no-terminal --ytdl-format=mp4 ' + url))
+bind ;gv hint -W mpvmp4
+
+bind ;gV js tri.excmds.exclaim_quiet('mpv --no-terminal --ytdl-format=mp4 ' + document.location.href)
+
unbind <C-f>
set hintfiltermode vimperator-reflow