Hi,

Fabien Meghazi wrote:
> 
> This is a stupid question about a basic feature but I don't have yet
> enough knowledge with vim.
> 
> How can I delete all lines of a buffer where at least one instance of
> "foobar" is found ?
> 
> eg the output of:
> 
> grep -v file.txt "foobar"

  :g/foobar/d

Regards,
Jürgen

-- 
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us.     (Calvin)

Reply via email to