How may I highlight in Vim with the :match command the text that does not matches with the given pattern?
So, I want the opposite of:
:match myGroup /foo/
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well, you could do something like:
where
myBaseHighlightis defined to be your default appearance — white on black, or whatever.:matchwill override:2match, so everything other than/foo/will get themyGrouphighlight.