Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VIM

Status
Not open for further replies.

malladisk

Programmer
Jun 14, 2001
69
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top