vimxmms2


Ⅰ. 插件描述

An XMMS2 client for Vim.

Ⅱ. 基本信息

创建日期:  2008-08-30
使用用户:  1
Github星:  1
插件作者:  Xin Wang

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/vimxmms2'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/vimxmms2'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/vimxmms2'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/vimxmms2

Ⅳ. 文档说明

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

添加新评论