4
votes
1answer
109 views

vim: how do I set :match and :2match search results to different colors?

For example, I want something along the lines of: :match search /<div/ guib=Green :match search /<\/div>/ guibf=Blue only that doesn't work.
0
votes
1answer
276 views

Vi for cygwin syntax

How can make vi in cygwin highlight syntax when I open a file by default? I know that I can type in the command "syntax on" but I would prefer to not do this all the time.