Ⅰ. 插件描述
easy marking of corrections in a documentⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/delins-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/delins-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/delins-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/delins.vim
Ⅳ. 文档说明
This script I use for marking changes in text files with the html ins and del tags.
To mark something something to insert past the current char press <F5> in normal mode. "<ins></ins>" appears. The caret is where you would expect it in insert mode.
To mark something to be deleted mark it in visual mode and press
D. "..." appears around it.
For convenience R (replace) in visual mode is bound to D<F5>.