Our Project: An Interface for mpc
Now that you have an understanding of basic VimL syntax, we can put that understanding to use. In the next chapters we’re going to use VimL to write a Vim plugin: a Vim interface for mpc, the command-line client for the Music Player Daemon (MPD).
MPD is a music-playing server. It keeps a flat file database of audio files which client applications use to organize and play the music. Our Vim plugin will interact with mpc, a command-line client for mpd, to let us view and play tracks in MPD’s playlist from within a Vim window.
Setting Up MPD and mpc
First, you need to download and install MPD and mpc.[4][5] (If you’re on OS X, you can install both using Homebrew,[6] the package manager for OS X; run brew install ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access