[ address ] v/ pattern / [ commands ]
address
v/
pattern
/
commands
Execute commands on all lines not containing pattern . If commands are not specified, print all such lines. v is equivalent to g! .
not
:v/#include/d Delete all lines except "#include" lines