Skip to content

vim plugin to control media players via MPRIS D-Bus interface on linux

License

Notifications You must be signed in to change notification settings

alyosha/vimedia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vimedia

Control your media players from inside Vim, if you're really that lazy 😏

Commands

  • :Play => Begin playback from active media player
  • :Pause => Pause playback from active media player
  • :PauseAll => Pause playback from all runing media players
  • :Skip => Skip to next song
  • :Prev => Go back to previous song
  • :Restart => Replay current song from the beginning
  • :Mute => Mute audio for all media players
  • :Unmute => Unmute audio for all media players
  • :Quit => Send quit signal to active media player
  • :ActivePlayer => Confirm active media player
  • :SelectPlayer => Select/change active media player from list of all running options

Please keep in mind that some media players may not have implemented MPRIS fully/at all and available functionality can vary with each player.

Coming soon

  • Seek forward/backwards
  • Volume toggle
  • Shuffle
  • Optional status bar

Installation

Using your preferred plugin manager or if all else fails:

git clone https://github.com/alyosha/vimedia ~/.vim/bundle/vimedia