Evanesco is a plugin geared towards automatically clearing Vim's search highlighting whenever the cursor moves or insert mode is entered. It has a feature set similar to vim-oblique and I really just built this to scratch an itch. I ran into a lot of problems with vim-oblique and it seemed simpler to re-implement the subset of the features that I actually use.
The only reason to use this plugin over vim-oblique is that it's arguably less of a hack, doesn't have any plugin dependencies, and the code is significantly smaller.
- Automatically clears search highlight when the cursor is moved
- Draw attention to search under cursor with different highlight group
- Star-search highlights without moving (doesn't yet have an option to easily disable this feature)
- Visual star-search
Q. Evanesco conflicts with my favorite mapping for <char>, what should I do?
A. You have three options:
-
Put the mapping in
~/.vim/after/plugin
and read:h after-directory
-
Place this line in your vimrc:
autocmd SourceCmd *plugin/evanesco.vim source <afile> | <your_mapping_here>
- Bug me on the issue tracker with a compelling use case
- Pathogen
cd ~/.vim/bundle && git clone https://github.com/pgdouyon/vim-evanesco.git
- Vim-Plug
Plug 'pgdouyon/vim-evanesco'
- Manual Install
- Copy all the files into the appropriate directory under
~/.vim
on *nix or$HOME/_vimfiles
on Windows
- Copy all the files into the appropriate directory under
Copyright (c) 2015 Pierre-Guy Douyon. Distributed under the MIT License.