Vim Styles as pygments CSS
CSS
Latest commit 09d5732 Sep 6, 2015 @uraimo Update README.md
Testing shields.io
Failed to load latest commit information.
README.md Update README.md Sep 6, 2015
codeschool.css
desert.css
freya.css added freya.css Jan 7, 2012
github.css
grb256.css
gruvbox.css
guardian.css
inkpot.css
mustang.css
no_quarter.css
nuvola.css
peaksea.css
railscasts.css
rdark.css
screen.png
slate.css
twilight.css
wombat.css

README.md

Pygments VIM Styles

License Forks Stars

A collection of famous VIM themes, fixed and converted to pygments CSS. Feel free to fork and add your favorite theme using the guide below!

Screenshot

Included vim color schemes:

DARK BACKGROUND

Update 2015:

Update 2014:

  • codeschool
  • guardian
  • twilight
  • GRB256

Update 2013:

LIGHT BACKGROUND

Update 2014:

  • github light

Update 2013:

  • nuvola

Convert your VIM styles

These CSS have been generated using the following script:

Troubleshooting:

Two possible issues you may encounter when converting your vim color scheme but that have an easy workaround:

  • Launching pygmentize you could get a Python error related to a line that starts with a colon. Opening the .py you'll notice that the content of the line is duplicated by the previous one, simply delete the line starting with colon and relaunch pygmentize.
  • Some vim schemes define color variables (it's vimscript afterall) and evaluate them using exec '>color declaration>' syntax, a dumb way to make the scheme digestible for vim2pygments is to manually replace the variables with their values and remove the exec '' calls. A bit of manual labour is involved but it works.

Themes