VIM - how to substitute a word in-place?
Posted
by psihodelia
on Super User
See other posts from Super User
or by psihodelia
Published on 2009-12-03T11:16:10Z
Indexed on
2010/03/08
21:21 UTC
Read the original article
Hit count: 253
I would like to substitute a word in-place. For example, after yanking some word by pressing yw and then I set a cursor on some other word, then I would like to press something so that substitution will happen. (e.g. SOME_KEYw where w is really w and SOME_KEY is some key). I would not like to switch into Insert Mode.
I am not interested in :%s/oldword/newword/gc
solution. I need interactive in-place substitution!
© Super User or respective owner