After selecting a range of lines with the
V command, I would like to delete every line of the file that is NOT selected, so is a way to invert the selection -- select every line that is not selected?
deletes every line which does NOT contain FOO.
If I had a range in mind and wanted to use its inverse:
I would need to use the two ranges:
I suspect that this cannot be done in one step -- but it would be nice!