Vim Solaris 5.8

From EggeWiki
Revision as of 20:25, 1 October 2007 by Egge (talk | contribs) (New page: I'm stuck using an ancient Solaris host, which I think has vi 1.0 bundled with it. I usually have several xterms connected to this host, and I wanted to get a modern version of vim workin...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

I'm stuck using an ancient Solaris host, which I think has vi 1.0 bundled with it. I usually have several xterms connected to this host, and I wanted to get a modern version of vim working with proper syntax highlighting. Sometimes I connect via putty, but these days I seem to be using mostly a Cygwin compiled rxvt.

The trick to get color working seems to be adding the right lines to your .vimrc file. The how to is found here:

http://vimdoc.sourceforge.net/htmldoc/syntax.html#xterm-color

The key thing to notice is that you have to replace the <Esc> with Ctrl-V Escape characters.

Here's what my ~/.vimrc looks like before adding the above lines,

And here's the after image:

This 'problem' only seems to affect Solaris hosts.