Thursday, 28 January 2010
Automatically Enable VIM Syntax Highlighting for a non-standard file extension
:syntax on
"enable perl syntax highlighting for a file with a non-standard extension
:autocmd BufReadPost *.plx set syntax=perl
" some odd useful abbreviations
:cab synh set syntax=html
:cab synp set syntax=php
"enable perl syntax highlighting for a file with a non-standard extension
:autocmd BufReadPost *.plx set syntax=perl
" some odd useful abbreviations
:cab synh set syntax=html
:cab synp set syntax=php
Labels: vim syntax
Subscribe to Posts [Atom]
Post a Comment