Ⅰ. 插件描述
Highlighted search results, improvedⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'fcpg/vim-spotlightify'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'fcpg/vim-spotlightify'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'fcpg/vim-spotlightify'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/fcpg/vim-spotlightify
Ⅳ. 文档说明
A\_ _ _ (o)
/`Y \ /o._ ___(_`._ __|_|o _ |__|_o_|_ /
\ \/ || | | ,_)|_)(_)|_||(_|| ||_| |\/ \
^ | _| / ^ Spotlightify highlights your search results while you are navigating through
them (with n/N and family), and automatically turn the highlighting off when
you are done.
Occurrence under cursor is highlighted differently ("spotlit") for easier
navigation.
By default, c<Tab> is mapped to a "search & replace" on the current word,
repeatable (with .) on other occurrences of that word. All instances are
highlighted accordingly during the operation.
Requirements
This plugin requires execute() function and OptionSet event
(Vim8 or late 7.4 patches).
Installation
Use your favorite method:
- Pathogen - git clone https://github.com/fcpg/vim-spotlightify ~/.vim/bundle/vim-spotlightify
- NeoBundle - NeoBundle 'fcpg/vim-spotlightify'
- Vundle - Plugin 'fcpg/vim-spotlightify'
- manual - copy all files into your ~/.vim directory
Acknowledgments
Originally a fork from @romainl vim-cool.
Many thanks to @igemnace on #vim for testing.
