Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How do I get vim to show my mistakes in color ?

Posted on 2006-06-11
5
312 Views
Last Modified: 2010-08-05

I as being helped by a fellow geek and he used an argument with vim to show missing  second qoutes and other syntax rules.  

It was pretty cool.
0
Comment
Question by:bitmechanic
  • 2
  • 2
5 Comments
 
LVL 20

Expert Comment

by:nedvis
ID: 16882889
Vim Color Editor HOW-TO (Vi Improved with syntax color highlighting)
http://www.linuxjunkies.org/html/Vim-HOWTO.html
0
 

Author Comment

by:bitmechanic
ID: 16883871
Great tutorial but it does not point out what I want.  

It just happens to come out in color so I can not search for "color" .

0
 
LVL 22

Accepted Solution

by:
pjedmond earned 150 total points
ID: 16883881
Normally this is the default if you type vim rather than vi to start this program up. The syntax highlighting is by default associated with the filename ending. For more information:

In vim:

:help syntax

Will display all you need to know...and probably more:)

HTH:)

0
 
LVL 22

Expert Comment

by:pjedmond
ID: 16883894
You can look at the syntax rules available with:

:syntax

And can be activated with:

:syntax enable


etc etc (all viewable within the :help syntax file)

HTH:)
0
 

Author Comment

by:bitmechanic
ID: 16891210
You rock!!!

0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question