>> Alternatively, if you have literal "caret capital-M", instead of
>> a literal control+M (as entered with "control+V control-M), you
>> might use "\r" instead of the "^M".
> 
> Btw, I mad the ^M with control+V, ENTER. I thought that was the (a?)
> correct way to get a new line character in the replace section of a
> sed.

Yes, either will do -- however when all we've got is plain-text 
emails to communicate, it's hard to discern "^M"  (the two 
characters "caret em")  from "^M" (a single control+M character 
displayed in Vim with an alternate color and entered by prefixing 
with control+V which, for those sourcing the accursed mswin.vim, 
becomes some other character like control+Q which then has to be 
further clarified).  Given the complications involved, I tend to 
just use the "\r" notation to make it as unambiguous as possible. :)

But when I'm vimming personally, I use them both interchangeably 
with equal frequency.

-tim







--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to