vim-spotlightify icon indicating copy to clipboard operation
vim-spotlightify copied to clipboard

Highlighted search results, improved

  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.

asciicast

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.

License

Attribution-ShareAlike 4.0 Int.