I have a huge file where I need to delete all lines except for a few I need. I'm trying to do this in a single command.
I know that: :v/Text/d will delete all lines except for ones containing 'Text.' I have no idea how to put multiple strings so the command deletes everything except for 'Text' and 'Text2' and 'Text3'. Please help! -- View this message in context: http://www.nabble.com/VIM-Delete-All-Except-tf3531855.html#a9856565 Sent from the Vim - General mailing list archive at Nabble.com.