> epanda wrote:
> >>> 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
>
> > error appears even if I put silent
>
> Where did you put it?
>
> :sil g/non-existant/d
>
> works for me.
>
> -tim
this provides me error message
silent! %s/\/\//\//g
E486
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment