On Wednesday, April 6, 2016 at 1:36:08 PM UTC+2, lith wrote:
> > Such tricks are usually used in
> > plugins where you e.g. have mappings like “escape sequence to escaped
> > character” for decoder and “escaped character to escape sequence” for
> > encoder or something like this
> 
> I didn't question the intent per se but the "cool one-liner" requirement.

Thank you all for your response,

I don't happen to replace each 
 and 
 ISO 8859-1 Characters Named HTML 
Entities respectively by a linefeed and carriage return and show visually the 
result in my buffer.

This command is working but it does not satisfy me because it replace both of 
them by linefeed : :silent! %s/&#x[AD];/^M/g

I would like something like : 
silent! %s/
/\n/g 
silent! %s/
/\r/g 
but it fails.

And then, when replacing will work, how replace correctly \n by 
 and \r by 


-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to