Andy Wokula wrote:
> Assigning a string with trailing <CR> to a register
> adds another <NL> (represented as <NUL>):
> 
>     :let @q = "\r"
>     :echo strtrans(@q)
>     ^M^@
> 
> This is at least surprising.
> 

I think the final ^J means that the register is linewise.


Best regards,
Tony.
-- 
"You have to regard everything I say with suspicion -- I may be trying
to bullshit you, or I may just be bullshitting you inadvertently."
                -- J. Wainwright, Mathematics 140b

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

Raspunde prin e-mail lui