Ⅰ. 插件描述
Puts backups where they belong: out of the wayⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/backup-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/backup-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/backup-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/backup.vim
Ⅳ. 文档说明
backup.vim stores backups out of the way in the ~/.vim_plugins/vim_backup directory.
Each file is split into it's file name and path, the md5sum of the path is used to create a unique subfolder in ~/.vim_plugins/vim_backup, and the files are backed up into that folder. This ensures that your files are backed up, that your directories are not cluttered with *~ files, and that each file that you edit has it's own unique backup.