When I'm yanking few lines and pasting it to command-line every new line is ^M
instead \r
. For example if I copy next two lines in visual mode (with command Vjy
):
line1
line2
and paste it in command-line (search) mode with command /<c-r>"
I get:
/line1^Mline2
But I expected: /line1\rline2
What i want to do is to highlight pasted string what is helpful when I'm pasting block of code. I know i can select it with
`[v`]
but i want to only highlight it, and anyway it can by useful to by able to paste multiline code into ex for substitute or other funny things.