how to permanently enable syntax highlghting in VIM?

Benjamin E. Zeller zeller at ibh-wor.de
Thu Oct 18 08:20:56 UTC 2007


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


-- 
Benjamin E. Zeller
Ing.-Büro Hohmann
Bahnhofstr. 34
D-82515 Wolfratshausen

Tel.:  +49 (0)8171 347 88 12
Mobil: +49 (0)160 99 11 55 23
Fax:   +49 (0)8171 910 778
mailto: zeller at ibh-wor.de

www.ibh-wor.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071018/1b140503/attachment.sig>


More information about the ubuntu-users mailing list