id3.vim


Ⅰ. 插件描述

"Edit" mp3 files with Vim, or rather, their ID3 tags

Ⅱ. 基本信息

创建日期:  2012-11-02
使用用户:  6
Github星:  18
插件作者:  Andrew Radev

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

## Usage

Edit an mp3 file. You'll see a buffer with its metadata stored as ID3 tags, formatted like this:

File: attempt_1.mp3
===================

Title:    Elevator Music Attempt 1
Artist:   Christiaan Bakker
Album:    Echoes From The Past
Track No:
Year:     2011
Genre:
Comment:  Attribution 3.0

Editing the buffer will update the tags. You can also rename the file by changing the value in the File: section.

Note that, for mp3 files, this requires the id3 command-line tool. On Arch Linux, this is available from the id3 package, installable with:

pacman -S id3

The plugin also supports FLAC files (somewhat misleadingly, since they don't use id3 tags). For those, you'll need the metaflac command, which, on Arch Linux, comes from the flac package:

pacman -S flac

On other platforms, you can probably use your favorite package manager to search for these.

添加新评论