How to paste text into Vim Visual Mode? -
i working in vim , paste yanked text visual mode. possible?
the p
command works in visual mode, (cp. :help v_p
). however, default register contents overwritten. (my replacewithregister plugin has alternative command keeps it.)
alternatively, can s
or c
replace visual selection, , use 1 of insert mode commands <c-r>{register}
insert register contents. pasting default register, need use "_s
avoid overwriting contents.
Comments
Post a Comment