Vim Questions wrote:
> I need to remove carriage return (Char 13) from a text.
> Was adviced to use Vim. (MS-Windows).

In normal mode (after pressing Escape), enter command:

:%s/\r//g

That will remove all CR characters. See:
http://vim.wikia.com/wiki/Change_end-of-line_format_for_dos-mac-unix

For the future, please:

- Use a suitable subject ("Remove carriage return").
  If you can't think of a subject, don't send a question.

- Consider using a suitable name.
  Why would anyone want to reply to "Vim Questions"?

John


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

Reply via email to