vimxmms2 : An XMMS2 client for Vim.
script karma |
Rating 9/3,
Downloaded by 1989 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Xin Wang |
|
script type |
utility |
|
description |
This script will not be updated anymore. Please see vimscript #2369.
Require:
vim with +python support.
xmms2 with the python interface.
Usage:
Using <leader>x to toogle the play window.
Also the following keyshorts are avaiable. Most key maps start with
c(Contrl) or l(playList).
<space> Play the song under cursor.
<cr> Same as <space>.
cs Stop.
cp Pause.
cr Select a repeat mode, repeat one track or all.
- 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.
Customize:
Specify the id3's encoding. For example:
let g:xmms_id3_encoding="gbk"
Specify the play window's width:
let g:xmms_window_width=30
Specify the playlist format, default is "%artist - %title", %album is also avaiable.
let g:xmms_playlist_format="%title"
Tips:
When adding music file or directory, you can use Ctrl-D to show all
candidates. Also, you can use arrow keys to navigate the historys.
Leave your comments in following link, or just mail me. :)
http://danran.72pines.com/vimxmms2
|
|
install details |
Putting following lines into your .vimrc
if has('python')
pyf /path/to/vimxmms2.py
endif
nmap <silent> <leader>x :py xmms_toggle()<cr> |
|
script versions (upload new version)
Click on the package to download.
vimxmms2.py |
0.4 |
2008-09-02 |
7.0 |
Xin Wang |
- Auto refresh play window using CursorHold event.
- Now user can customize the playlist format.
|
vimxmms2.py |
0.3 |
2008-09-01 |
7.0 |
Xin Wang |
- Add basic playlist save and load support.
- Show current playlist and volume in statusline.
- Add shuffle, repeat command.
- Add playlist sort command.
- The key map are mostly redefined.
|
vimxmms2.py |
0.2 |
2008-08-31 |
7.0 |
Xin Wang |
- Change from XMMSSync to XMMS to gain more control.
- Fix a bug when play the last song in the playlist, remove any entry will cause an out of range error.
- When encouter encoding or decoding error of id3, use file name instead.
|
vimxmms2.py |
0.1 |
2008-08-30 |
7.0 |
Xin Wang |
Initial upload |
ip used for rating: 3.21.104.216
|