Say I want to search for multiple lines (or do anything with them in the command line).
I yank some lines and enter search mode (/).
I press Ctrl + r" to paste what I just yanked, but I get ^M
for the line breaks so the search is unsuccessful unless I change the ^M
to \n
.
This is on ubuntu using awesomewm and st terminal. I suspect it could be an issue with my terminal as opposed to vim.
Here is a gif illustrating this: