vim
has very powerful command tools. I can substitute 'Set's for all 'Array's:
:%s/Array/Set/g
But can I do this interactively as Unix commands(e.g. rm
)? I hope vim
to ask me whether I really want to replace a word, rather than substitute them all at once.
Yes, you can do this by appending another command as:
:%s/Array/Set/gc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With