re: What's your favorite Vim trick? VIEW POST

FULL DISCUSSION
 

NeoVim has a "preview" functionality when you're doing substitutions.

First: set inccommand=split
Then, enjoy incremental highlighting of the text that will be impacted by any substitutions until you hit [ENTER]: :%s/foo/bar/g

code of conduct - report abuse