Enhancing search and replace in Neovim with inccomand

February 13, 2019

demo of using icm

@adamyonk recently pointed me towards Neovim’s enhanced inccommand feature. When you use :set inc="split" or :set inc="nosplit", you get a lovely live preview of both searches and complex find and replace.

This is a pretty cool feature that if you are already on Neovim, you can just get it for free.

If you are not using Neovim, markonm/traces.vim does nearly the same thing as a plugin.