Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Vim color scheme that matches Sublime's default Monokai? [closed]

Tags:

vim

I'd like it to have decent syntax highlighting too - especially for JavaScript. (e.g. method names should be highlighted).

Here's Sublime:

enter image description here

I've come across a few. Here's sickill/vim-monokai:

enter image description here

and tomasr/molokai:

enter image description here

But, as you can see from the screns, they don't seem to match Sublime's colors/syntax highlighting. Are there any others?

like image 578
Sam Selikoff Avatar asked Aug 07 '14 15:08

Sam Selikoff


Video Answer


1 Answers

First, GVim/MacVim will be mandatory if you want your colors to match Sublime's as terminal emulators are usually limited to 256 colors.

Second, if you only want Vim's colors to match Sublime's, you'll probably need to tweak the colorscheme itself or send their author a formal feature request.

Third, Vim doesn't highlight method names by default so no colorscheme will give that to you for free but you can try the example given under :help tag-highlight. There's also this plugin and this one.

All the "tag highlighting" solutions depend on the presence of a tags file.

like image 95
romainl Avatar answered Nov 12 '22 10:11

romainl