Vimpv is a javascript plugin for Vimperator which allows you to follow/open video urls with mpv. Tested on Youtube and Vimeo.
Usage:
The default key map is ;m
You can map the default key to something else, for example, if you don’t use the mark command, you can map it to m
in your ~/.vimperatorrc
:
nmap m ;m
You can find the plugin in my dotfiles repo:
https://github.com/spcmd/dotfiles/blob/master/vimperator/.vimperator/plugin/vimpv.js