Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 

README.md

Why?

I am a bit obsessive about my vim startup time. Turns out that computing hundreds of colors at startup time can take a few CPU cycles. So I put together this project to pre-compile my colorscheme to nothing but simple highlight commands.

This is achieved by a simple Rakefile that will expand a bit of YAML into a template. It does the computation once so we don't do it every single time we start our editor.

Screeshot!

Terminal.app Screeshot

Install

curl https://raw.github.com/csexton/spacemanspiff.vim/master/colors/spacemanspiff.vim > ~/.vim/colors/spacemanspiff.vim

Or use your favorite vim plugin manager by pointing it to this repo.

Terminal?

Like Solarized, Tomorrow and Base16, this requires you to change your terminal colors. Unlike those projects there is no fall back. If you don't set the terminal colors it will look pretty horrid.

Settings for iTerm can be grabbed from the Spaceman Spiff.itermcolors directory in this repo, but other terminals you can will need to edit the preferences for your terminal. The hex values for the ANSI Colors can be found in colors.yml.

Terminal Screeshot

Building

Edit src/colors.yml and run rake and the colorscheme will be regenerated and placed in colors. Feel free to modify the template or the colors yaml, but you should not edit the generated file directly.

Benchmarks?

024.966: sourcing ~/.vim/colors/Tomorrow-Night.vim
005.220: sourcing ~/.vim/colors/spacemanspiff.vim

Times in msecs, yo.

This looks familiar!

My colors are based off of the awesome Tomorrow-Night colorscheme. I've made a few tweaks to suit my personal preference.

About

vim colorscheme

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.