Is there a way to tell (g)Vim to insert from register at the beginning of a row? I know I can use s/^/[text]/ but I was thinking more along the lines of :g/[text]/ "+p except that that doesn't work. I guess the problem is that there's no way for Vim to decide where to put the content of the register.
|
feedback
|
|
Here's one way:
will insert the contents of register
| |||||||||
feedback
|
|
You can use So if you got at the beginning of a row with | |||
|
feedback
|