Suppose I run "ayip to yank the following lines into register 'a':
one
two
three
When I use the `:reg a` command to inspect the contents of the register, it
shows newlines as ^J, like this:
--- Registers ---
"a one^Jtwo^Jthree^J
But if I use <c-r>a to paste the contents of that register at the command
line, the newlines are represented as ^M, like this:
/<c-r>a
expands to:
/one^Mtwo^Mthree^M
Why does the newline appear as ^J in one case, and as ^M in the other?
Thanks,
Drew
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php