vim-monokai
Refined monokai color scheme for vim.
- The colour palette from sickill/vim-monokai.
Install
Vundle (recommend)
Plugin 'crusoexia/vim-monokai'
No plugin manager way
Download the syntax/monokai.vim file and copy it into your ~/.vim/syntax/ folder.
Note:
If you previously use sickill/vim-monokai, you need to remove it first to install this one, because the two have the same name which could cause conflicts.
Usage
Type below command in your vim or save it in your vimrc:
colorscheme monokai
Configuration
Italic
If you are using a font which support italic, you can use below config to enable the italic form:
let g:monokai_italic = 1
Thick window border
The default window border is narrow dotted line, use below config to turn on the thick one:
let g:monokai_thick_border = 1
Zentree
In case you want a less bright Nerdtree:
let g:monokai_zentree = 1
Javascript
For javascript development, it is recommend to install below plugins:
-
vim-javascript, which provide features such as param syntax highlight, function assignment identifier highlight ( just as the screenshots ).
-
vim-javascript-lib, which is the companion of vim-javascript, provide the popular javascript libraries key word highlight, such as underscore and Backbone.