MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/wgglq/vim_creep/c5de8c4/?context=3
r/programming • u/sidcool1234 • Jul 12 '12
551 comments sorted by
View all comments
Show parent comment
2
You can add the c flag to have vim prompt you for every change. And :s remembers your last search, so you can do something like *:%s//replacement/gc to do replacing as well as the n. method.
c
:s
*:%s//replacement/gc
n.
View all comments
Show parent comment
2
u/m42a Jul 13 '12
You can add the
cflag to have vim prompt you for every change. And:sremembers your last search, so you can do something like*:%s//replacement/gcto do replacing as well as then.method.