Accurate Darcula color scheme for the VIM editor. Works well with CoffeeScript projects. Can be used in 256 color mode.
Updated more accurate colors and additional highlighting.
-
Copy darcula.vim into
~/.vim/colors/
(Unix) orvimfiles/colors/
(Windows).$ cd darcula/colors $ mv darcula.vim ~/.vim/colors/
-
Download and install Tim Pope's Pathogen.
-
Next, move or clone the
darcula
directory so that it is a subdirectory of the.vim/bundle
directory.a. Clone:
$ cd ~/.vim/bundle && \ git clone [email protected]:blueshirts/darcula.git
b. Move:
In the parent directory of darcula: $ mv darcula ~/.vim/bundle/
After either Option 1 or Option 2 above, put the following two lines in your .vimrc:
syntax enable
colorscheme darcula
Add the following content to the .vim/after/syntax/coffee/coffee.vim
file. This configuration is required with most
VIM CoffeeScript syntax highlighters in order to properly color the '@' (this) symbol.
hi clear coffeeParens
hi coffeeParens NONE
syn clear coffeeParens
hi clear coffeeSpecialIdent
hi coffeeSpecialIdent NONE
syn clear coffeeSpecialIdent
hi clear coffeeCurlies
hi coffeeCoffeeCurlies NONE
syn clear coffeeCurlies
" Highlight the this symbol.
syn match coffeeThis "\v\@"
hi def link coffeeThis Keyword