Molokai is a Vim port of the monokai theme for TextMate originally created by Wimer Hazenberg.
By default, it has a dark gray background based on the version created by Hamish Stuart Macpherson for the E editor.
256-Color terminals are also supported, though there are some differences with the Gui version. Only the dark gray background style is supported on terminal vim at this time.
Clone this repo
git clone https://github.com/tomasr/molokai.git
Copy the colors file to your vim folder.
cp molokai/colors/molokai.vim ~/.vim/colors
in your .vimrc file
colorscheme molokai
If you prefer the scheme to match the original monokai background color, put this in your .vimrc file:
let g:molokai_original = 1
If you prefer a transparent background for the terminal version, put this in your .vimrc file:
let g:molokai_transparent = 1
There is also an alternative scheme under development for color terminals which attempts to bring the 256 color version as close as possible to the the default (dark) GUI version. To access, add this to your .vimrc:
let g:rehash256 = 1
If italicized text does not show up well with your font, you can disable italics by adding this to your .vimrc:
let g:molokai_italics = 0