A common function I do in textmate or any other editor is copy some text and then paste it over some other text, for example: https://gyazo.com/fcef05504e83b608b583af085f92ecd2.
Currently to copy a value I do something like yiw
, however if I delete the next work, diw
, it would also yank in that text, which I want to overwrite. What would be the best way to do this process, which I feel like I do all the time?
p
in Visual mode solution same as this one does... It's related and some solutions from that one will also work for this one, but I still think this one has a nice specific solution, so worth keeping it open.