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 ...

Get The VimL Primer now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.