Wi-Fizzle.com - Putting the fizzle in Wi-Fi since 2005 .. (yes, this was a poor choice for a domain name)

<div class="news_item">#328<div class="news_title">Nice Vim Color Schemes: Wombat and xterm16

Posted by dandriff on Saturday December 13, 2008@08:10PM

I like the Wombat color scheme for Vim.

xterm also looks really nice. I like how the primary design goals have been focused on minimizing eyestrain.

As a sidenote, earlier I wanted to convert an xml document into an html document that looked like it did for me in Vim. Initially I just tried the Syntax menu >> select Convert to HTML, but that yielded only some old-school'ish plain-old html, in the default ketchup+mustard type of color scheme. It was not very pretty...so a lot of googling later, I arrived at this gem of wisdom (at slashdot..blurgh..[monster gurgling noise]..):

<style type="text/css"> /* <!-- */ .vimrcConstant { color: #ffa0a0; } .vimrcPreProc { color: #ff80ff; } .vimrcStatement { color: #ffff00; } .vimrcComment { color: #80a0ff; } pre.vimrc { font-family: monospace; color: #cccccc; background-color: #000000; } .vimrcLnr { color: #ffff00; } /* --> */ </style> <pre class="vimrc"> <span class="vimrcLnr">1 </span><span class="vimrcComment">" Get files exported as xhtml instead of html.</span> <span class="vimrcLnr">2 </span><span class="vimrcComment">"</span> <span class="vimrcPreProc">Source:</span><span class="vimrcComment"> <a href="http://ask.slashdot.org/comments.pl?sid=200383&cid=16407641">http://ask.slashdot.org/comments.pl?sid=200383&cid=16407641</a></span> <span class="vimrcLnr">3 </span><span class="vimrcStatement">let</span> use_xhtml<span class="vimrcStatement">=</span><span class="vimrcConstant">1</span> <span class="vimrcLnr">4 </span><span class="vimrcStatement">let</span> html_use_css<span class="vimrcStatement">=</span><span class="vimrcConstant">1</span> </pre>

I added that to my .vimrc, repeated the Syntax menu >> select Convert to HTML process, and voila, I had a beautiful and clean xhtml document in a color scheme that wass much easier on the eyes!

Cheers.