vimmp : An XMMS2 and MPD client for Vim
| script karma
Downloaded by 841
Comments, bugs, improvements
|This plugin is based on vimscript #2363, and add MPD support.
Vim with +python support.
FOR XMMS2: XMMS2 with the Python interface.
FOR MPD: MPD and python-mpd.
Using <leader>x to toggle the play window.
Also the following key shorts are available. Most key maps start with
c(Control) or l(playList).
<space> Play the song under cursor.
<cr> Same as <space>.
cr Select a repeat mode.
There are three modes for XMMS2: one, all, off.
For MPD, there are two: off, all. So there command just toggle.
- Decrease volume.
= Increase volume.
r Refresh window manually.
la Add a file or directory to playlist.
lc Clear the playlist.
ld Remove the song under cursor from current playlist.
lf Shuffer the list.
ll Load a playlist.
ln Create a new playlist, and save current contents to it.
ls Sort the playlist, by artist, title or filename.
Only available for XMMS2.
Specify the id3's encoding. This option is only for XMMS2, i.e
Specify the play window's width:
Specify the playlist format, default is "%artist - %title", %album
is also avaiable.
Notes for MPD users
- There's only one playlist which MPD uses to play, users can only load
other playlists' contents to that list. So the playlist name displayed
in the status line is just the playlist's version number.
- Currently, this plugin only support localhost mpd server.
When adding music file or directory, you can use Ctrl-D to show all
candidates. Also, you can use arrow keys to navigate the history.
Leave your comments in following link, or just mail me.
| Putting following lines into your .vimrc
py import os, sys
For example, I put the vimmp dir in ~/.vim, so the lines will be:
py import os, sys
Then specify what server you are using, "xmms2" or "mpd". (Although
the script will try to guess, but it's better to set it manually.)
Also, add following map into .vimrc
nmap <silent> <leader>x :py vimmp_toggle()<cr>
FOR MPD USERS
In addtion to above settings, you also have to set the music and
playlist directory. They should be the same as in /etc/mpd.conf. i.e.
Rating scripts is only available on the
script versions (upload new version)
Click on the package to download.
ip used for rating: 126.96.36.199