Guillaume Bog wrote: > What I used to do is selecting it with mouse and type > :%s/<ctrl-ins>/newname/gc > Is there a way to do this with the mouse
I guess you mean "with the keyboard". Yes, there is. Ctrl-R / pull to the commandline the last search pattern Ctrl-R " ...the last unnamed delete or yank Ctrl-R * ...the current selection (X11 only) Ctrl-R + ...the clipboard contents Ctrl-R x ...the contents of register x Ctrl-R Ctrl-W ...the current word under the cursor See :help c_CTRL-R Tobia