markonm / traces.vim

Range, pattern and substitute preview for Vim
MIT License
742 stars 13 forks source link

Separate highlight for pattern and replacement #23

Closed lunacookies closed 5 years ago

lunacookies commented 5 years ago

Would it be possible to create a new highlight group, perhaps called TracesReplace that highlights all the replacement text, perhaps mapped to IncSearch by default? I really like the way vim-fnr highlights its replacement, but I sometimes need to use regexen for more complex substitutions. Thanks!

Great plugin BTW.