In vim I can delete all lines that contain the word "price" with this
:g /price/d
How can I delete all lines that do NOT contain the word "price"?
|
In vim I can delete all lines that contain the word "price" with this
How can I delete all lines that do NOT contain the word "price"?
| |||
|
feedback
|
|
You can use
to delete every line that doesn't contain "price" | |||||||
feedback
|