bitboxer / vim-playpause

A plugin that pauses your current player on Mac OSX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vim-playpause

You are playing that awesome tune. Are totally focused on what you are doing. A coworker arrives and asks you a question. You want to pause that player. But you don't remember if it was startet in iTunes or Spotify. Or don't want to fumble with your mouse, app switcher or trackpad. What now?

vim-playpause to the rescue!

vim-playpause is a plugin for MacOS that tries to figure out if iTunes or Spotify is currently playing and pauses it. You can easyly resume playing after the coworker left.

Simply execute

:PlayPause

and the plugin will try to pause the current track.

If you want to restart the player, just enter the command again.

Contribute

This is my first published vim plugin. Feel free to comment on the codestyle. If I did not follow best practices, please say so.

If you want to add another player, e.g. Rdio, please submit a PR for them.

About

A plugin that pauses your current player on Mac OSX

License:MIT License


Languages

Language:Vim Script 100.0%