Ⅰ. 插件描述
Use the power of vim to rename groups of filesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'asins/renamer-vim-everything-has-changed'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'asins/renamer-vim-everything-has-changed'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'asins/renamer-vim-everything-has-changed'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/asins/renamer.vim
Ⅳ. 文档说明
This is a mirror of http://www.vim.org/scripts/script.php?script_id=1721
Basic Usage:
Show a list of file names in a directory, rename then in the vim
buffer using vim editing commands, then have vim rename them on disk
Start the plugin with the command :Renamer
Details:
Renaming a single file is easily done via an operating system file explorer,
the vim file explorer (netrw.vim), or the command line. When you want to
rename a bunch of files, especially when you want to do a common text
manipulation to those file names, this plugin may help. It shows you all
the files in the current directory, and lets you edit their names in the vim
- When you're ready, issue the command ":Ren" to perform the mass
- The intention is to rename files in the same directory, but
- paths can be specified to move files around - provided the
destination directories exist