Tuesday, December 22, 2009

Avoiding error message

Hi,

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

Thanks

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

No comments: