For those familiar with the Vim (Vi iMproved) editor, I have created
a syntax file for MHonArc resource files. The syntax file is adapted
from html.vim. The syntax file can be retrieved with the folloing
To use it, add something like the following to your .vimrc:
au BufNewFile,BufRead *.mrc so $VIM/syntax/mhonarc.vim
Change the "so ..." to reflect the pathname you place mhonarc.vim.
NOTE: I am now using ".mrc" as the extension for MHonArc resource
files. This extension causes less conflict as ".rc" with other file
Information about Vim can be obtained at:
I am no expert in Vim syntax files (this is my first stab at it), but I
welcome suggestions and improvements. Patches are always welcome.
If anyone has developed anything similiar for other editors (like
emacs), please contribute.
Earl Hood | University of California: Irvine
ehood(_at_)medusa(_dot_)acs(_dot_)uci(_dot_)edu | Electronic
http://www.oac.uci.edu/indiv/ehood/ | Dabbler of SGML/WWW/Perl/MIME