Ⅰ. 插件描述
emv - external utilitity invoking vim for mass renamingⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/emv'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/emv'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/emv'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/emv
Ⅳ. 文档说明
emv - editor mv - is a perl script for Unix to use the power of vim to mass rename files, with the renaming and logging done in perl, and vim used to edit the filenames with visual block commands, s///g. In contrast to the original shell script, sorting and deleting lines is permitted.
You can specify a command of your own instead of the default /bin/mv. Also some special commands can be specified, which are run before any renames, including e.g. link target editing.
Help is available with --help and also in the editor buffer.
[small fix: should now work with older perls as well]
The current version is available from:
http://jakobi.github.com/script-archive-doc/
http://github.com/jakobi/script-archive/tree/master/cli.list.rename/