Skip to main content
The 2024 Developer Survey results are live! See the results

New answers tagged

1 vote

How to replace string with register content?

The simplest approach I've found is to use \=@<register-name> (a shorthand for getreg('<register-name>')): :s/:/\=@0
Micks Ketches's user avatar

Top 50 recent answers are included