Nice! Thank you Karol! Actually I found another solution accidentally
browsing through vim help: :%s/^.*{PATTERN}.*\n// (e.d using \n instead of
$ atom)
2011/9/14 Karol Samborski <[email protected]>
> 2011/9/14 Михаил Голубев <[email protected]>:
> > Hello to everyone.
> >
> > I got one silly question: I want to delete all lines matching pattern
> > completely, but I :%s/.*{PATTERN}.*// delete only text till the end of
> line.
> > Using :s/^$// after doesnt't work also.
> > Is where a simple way to do such substitution?
> >
>
> Hi,
>
> Try this:
> :%g/pattern/d
> --
> Best Regards,
> Karol Samborski
>
> --
> 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
>
--
Best regards
Golubev Mikhail
--
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