Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 558 Bytes

tip89.md

File metadata and controls

20 lines (16 loc) · 558 Bytes

89. Eyeball Each Substitution

See the command.

:[range]s[ubstitute]/{pattern}/{string}/[flags]

You just need to add c in the [flags] part,then every time when you want to execute the replacement,you will get the info like this in the command part:

y/n/a/q/l/^E/^Y
Trigger Effect
y Substitute this match
n Skip this match
q Quit substituting
l "last"—Substitute this match, then quit
a "all"-Substitute this and any remaining matches
Scroll the screen up
Scroll the screen down