Ⅰ. 插件描述
Automatically highlight all occurrences of the current word without searchingⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'obxhdx/vim-auto-highlight'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'obxhdx/vim-auto-highlight'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'obxhdx/vim-auto-highlight'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/obxhdx/vim-auto-highlight
Ⅳ. 文档说明
# vim-auto-highlight
Automatically highlight all occurrences of the current word without searching.
Installation
Just use your preferred package manager (vim-plug, Vundle.vim, neobundle.vim, etc).
Usage
See documentation.
Related work
There are lots of related tips (like this) on the internet. I followed a different approach only because I wanted Search syntax group to always have precedence over the auto highlighted words.
License
MIT