vim/use-g-v (258 bytes)
1 :g/re/p is grep! 2 :g/re/ applies the command to every line matching 3 :v/re/ applies to every line NOT matching 4 5 eg: 6 :v/re/d is useful for removing some garbage, like in a log file 7 :g/re/p gives a nice overview in a print buffer 8 :.,+10g/re/d locally does stuff