最佳答案
I need to do a bunch of word replacements in a file and want to do it with a vi command, not an EX command such as :%s///g
.
I know that this is the typical way one replaces the word at the current cursor position: cw<text><esc>
but is there a way to do this with the contents of the unnamed register as the replacement text and without overwriting the register?