how to permanently enable syntax highlghting in VIM?

Gabriel Dragffy gabe at dragffy.com
Thu Oct 18 11:05:38 UTC 2007


On 18 Oct 2007, at 09:20, Benjamin E. Zeller wrote:

> On Thursday 18 October 2007 09:22:37 Ruben Laban wrote:
>> On Thursday 18 October 2007, Gabriel Dragffy wrote:
>>> In particluar for PHP and Ruby.
>>
>> $ grep syn /etc/vim/vimrc
>> " Vim5 and later versions support syntax highlighting.  
>> Uncommenting the
>> next " line enables syntax highlighting by default.
>> "syntax on
>
> Alternative:
>
> put a ".vimrc" in your ~, content: ":syntax on"
>
>>
>> HTH,
>> --
>> Ruben
>
> Benni

Thank you very much to both of you. That's grand.

Best regards

Gabe





More information about the ubuntu-users mailing list