vim envy - syntax highlighting

Bradley Ross Bradley_Ross at byu.edu
Wed Jul 21 18:37:05 UTC 2004


My .emacs file is pretty simple that I found somewhere on the net.
 
;#################################
; Turn on font-lock in supported modes
(if (fboundp 'global-font-lock-mode)
	(global-font-lock-mode t))

; Maximum colors
(setq font-lock-maximum-decoration t)
;#################################
 
This does a good job coloring my shell scripts. However, vim does this
automatically in FC2 with no modification necessary. Not only that, but
it also colors other important system files like /etc/inittab that emacs
doesn't with these settings. 

Assuming I don't want to switch to vi, is simple way to get emacs to
snytax highlight more of the basic system files? I don't really want to
install additional software. 

Bradley Ross





More information about the users mailing list