You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VsCodeVim has a neat feature of previewing replacement commands.
While writing :%s/foo, it will highlight all occurrences of foo (1 per line).
When proceeding with :%s/foo/bar it will keep the highlight on the previously marked words, but they will now be visibly changed to bar.
Similarly, adding the finishing :%s/foo/bar/g, it will apply that preview to multiple occurrences per line.
I think that's a great way of knowing if the regex you're trying to replace works as intended.
Would that be a feature that would also fit CodeMirror Vim?
The text was updated successfully, but these errors were encountered:
VsCodeVim has a neat feature of previewing replacement commands.
While writing
:%s/foo
, it will highlight all occurrences offoo
(1 per line).When proceeding with
:%s/foo/bar
it will keep the highlight on the previously marked words, but they will now be visibly changed tobar
.Similarly, adding the finishing
:%s/foo/bar/g
, it will apply that preview to multiple occurrences per line.I think that's a great way of knowing if the regex you're trying to replace works as intended.
Would that be a feature that would also fit CodeMirror Vim?
The text was updated successfully, but these errors were encountered: