JP Lew wrote on 24/05/2011 08:14 AM: > 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. >
Are you specifically looking for carriage returns? If you are just looking for end-of-lines, then the following will serve you better: /\n Otherwise, see John Beckitt's sibling post. -- 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