Today I opened a file with wim, I found that all the blank characters, commas, etc are highlighted as the following image shows, but I don't know what's the matter!

I hope some one could help me to solve this problem, thanks!

Recommended Answers

All 2 Replies

Try this:

:syntax off

Good luck.

Today I opened a file with wim, I found that all the blank characters, commas, etc are highlighted as the following image shows, but I don't know what's the matter!

I hope some one could help me to solve this problem, thanks!

Vim, with highlighting turned on, will highlight all instances of the last thing you searched for. Looks like you (or someone) executed a search similar to:

/[^A-Za-z0-9]<ENTER>

(meaning search for everything that is not an alph-numeric character).

Entering:

/aaaaaaaaaaa<ENTER>

or any character sequence other than aaaaaaaaaaa not found in the text should make the distracting highlighting go away.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.