Assume I have the text Fnord
yanked before and that my cursor resides on the B
of the line:
M:mock(Baz)
How can I change the text inside () with the previously yanked text?
Currently, I often make the mistake by doing:
di(
aka "delete inside ()"- SHIFT+P
yet which leaves me with the exact text again, as the deleted text will be moved to the register.
I want to have:
M:mock(Fnord)
0
register will contain the last yanked text.:h quote0
vi)p
. It is the same as in that answer, just with thei)
text object instead of thew
text object,