paranoidcookie
asked on
vim syntax highlighting
Can anyone tell me a good guide on how to add syntax highlighting to vim (specifically for apple osx but I guess it much the same for any platform).
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Also, you can use gvim, and simply use the syntax menu to highlight.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
if it is gVim, goto syntax -> automatic in the memu bars
ASKER
Thanks all I ran
:syntax enable
but it dosnt highlight any of my sample c prog I guess im missing something I used to use red hat and all the higlighting was done by default.
I have a .viminfo file is that the same as .vimrc
:syntax enable
but it dosnt highlight any of my sample c prog I guess im missing something I used to use red hat and all the higlighting was done by default.
I have a .viminfo file is that the same as .vimrc
no, a .vimrc file contains your settings options in there,
there are loads of settings (check vim website) and you can add them into this file to by set everytime you load vim
there are loads of settings (check vim website) and you can add them into this file to by set everytime you load vim
regards .. Alan