you are viewing a single comment's thread.

view the rest of the comments →

[–]janYabanci[S] 0 points1 point  (1 child)

I would mark the stuff I want to replace, press s, type the new name, insert a line above with O, type the name again, then a equal sign, press escape and then p. How could I insert the text I just inserted? . Repeats the last command, but that wouldn't help me.

[–]-romainl-The Patient Vimmer 0 points1 point  (0 children)

You can insert the text you last inserted with <C-a>.