Monday, May 23, 2011

vim can't find carriage returns

Hi there:
No matter which document I'm editing, whenever I search for a carriage
return like this:

/\r

I get the following error message:

E486: Pattern not found: \r

It's puzzling because Vim is matching other character classes like \t
and \n without any problems. I know for a fact that my document has
carriage returns in it, because when I open it in another text editor,
like BBEdit for example, the grep search is turning up carriage
returns in all the right places.

Any ideas? Thanks.

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

No comments:

Post a Comment