VIM Replace word with contents of paste buffer?

Posted by plong on Stack Overflow See other posts from Stack Overflow or by plong
Published on 2010-03-18T15:43:54Z Indexed on 2010/03/18 16:01 UTC
Read the original article Hit count: 166

Filed under:
|
|
|
|

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?

© Stack Overflow or respective owner

Related posts about vim

Related posts about change