Tuesday, May 24, 2011

Re: vim can't find carriage returns

On Mon, 23 May 2011 23:14:26 -0700 (PDT)
JP Lew <jplew108@gmail.com> wrote:

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

what does your fileformat say when you are in vim? (:set fileformat)
What OS are you using?

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