VIm remains one of my most useful tools.
:v/pattern/d
From a somewhat useful SO comment:
Fwiw -- Looks like
g
[in a command like:g/pattern/d
] is for "global" andv
[like we have here] is for "inverse" (if you believe what you read on vim.famdom).