DEV Community

[Comment from a deleted post]
Collapse
 
moopet profile image
Ben Sinclair

I didn't know you could use g! like that. I'd use v which saves a keystroke and miss out the % which is assumed:

:v/^SQL:/d

but yeah, I doubt there's any beating Vim unless you use something contrived for the task.