[OS X TeX] colour syntax in Vim: success

Jesse Billett jdb43 at cam.ac.uk
Mon Jul 12 15:53:06 CEST 2004

I found that setting my terminal to xterm-color didn't work, but the 
following solution did:

In .vimrc, I added the following commands at the end of the file:

:set term=builtin_iris-ansi
:syntax on

The term used could be builtin_ansi or builtin_beos-ansi as well.

On a non tex-related note, I obtained ls in colour this way from the 
command prompt:

% mkdir ~/bin
% cp /bin/lsc ~/bin
% alias ls "~/bin/lsc --color=always"

I copied the alias command into .tcshrc so that it works every time I 
start a shell.

Jesse Billett

Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.

More information about the macostex-archives mailing list