loading...

Discussion on: What's your favorite Vim trick?

Collapse
petermbenjamin profile image
Peter Benjamin

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