Tuesday, December 22, 2009

Re: Avoiding error message

Hi epanda!

On Di, 22 Dez 2009, epanda wrote:

> I have a func that substitute some lines containing different
> patterns.
> g/patt1/d
> g/patt2/d
> g/patt3/d
>
>
> An error message occurs when it cannot find te pattern 1 2 or 3.
> How can I proceed to avoid this error message out of using try catch

:h :silent

regards,
Christian
--
hundred-and-one symptoms of being an internet addict:
31. You code your homework in HTML and give your instructor the URL.

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

No comments: