jeudi 28 novembre 2013

How to use solarized colorscheme for vim on a Nitrous box

I'm a happy user of Nitrous.IO for my Ruby on Rails development. As a vim user and a fan of the solarized colorscheme, I had to find a way to set it up for my Nitrous box.

I was not able to setup the full solarized colorscheme for vim so I had to use the degraded 256 colorscheme. To do so, I added the following lines in my .vimrc:

set background=dark
let g:solarized_termcolors=256
color solarized

I can now enjoy using my favorite colorscheme on my favorite editor!