Hi, I'm using VIM on UNIX system and I see that certain lines (macros, typedefs etc) are shown underlined. How do I get rid of these underlines?
THanks,
Sashi
Sounds like you have syntax highlighting on but Vim thinks you don't have a color terminal. How to get rid of them depends on whether or not you really do want syntax coloring on (but want actual colors, not underlines).
If you want no syntax highlighting whatsoever, just say
Code:
syntax off
in your ~/.vimrc file.
If you do want color highlighting, you'll have to figure out how to tell Vim your terminal can support colors. I remember having to set some Vim variable (probably term, but look it up) to "xterm-color" or "color-xterm" to fix this problem when I had it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.