Skip to main content
added 12 characters in body
Source Link
statox
  • 50.6k
  • 19
  • 153
  • 231

I'd like to add another option. You

You can do /original/original and then do :%s//replacement:%s//replacement. (Use /c/c at the end if you want confirmation). Although

Although you are pressing 3 more keys, this has an advantage over doing just %s/original/replacement%s/original/replacement because it provides a visual cue that your search is correct.

I'd like to add another option. You can do /original and then do :%s//replacement. (Use /c at the end if you want confirmation). Although you are pressing 3 more keys, this has an advantage over doing just %s/original/replacement because it provides a visual cue that your search is correct.

I'd like to add another option.

You can do /original and then do :%s//replacement. (Use /c at the end if you want confirmation).

Although you are pressing 3 more keys, this has an advantage over doing just %s/original/replacement because it provides a visual cue that your search is correct.

Source Link

I'd like to add another option. You can do /original and then do :%s//replacement. (Use /c at the end if you want confirmation). Although you are pressing 3 more keys, this has an advantage over doing just %s/original/replacement because it provides a visual cue that your search is correct.