--- layout: post category: app title: controll xmms2 from vim --- a really basic way to controll xmms2 from your vim session: {% highlight vim %} map xn :!xmms2 next map xb :!xmms2 previous map xP :!xmms2 pause map xp :!xmms2 play map xs :!xmms2 stop {% endhighlight %} now, type *,xn* in vim, and xmms2 will start to play the next track from your playlist.