Dracula-theme: Terminal VIM scheme fail

Created on 27 Nov 2013  ·  9Comments  ·  Source: dracula/dracula-theme

Hello, guys. I've just installed the vim scheme via the not-so-clever method.

git clone -q git://github.com/zenorocha/dracula-theme.git ~/.local/share/dracula-theme
ln -s ~/.local/share/dracula-theme/vim/dracula.vim ~/.vim/colors/

The theme is correctly available to apply...
captura de tela de 2013-11-27 13 10 36

... but when applied...
captura de tela de 2013-11-27 13 15 41

I know nothing about VIML, but shouldn't the number notation for terminal colors being the culprit?

I've gave a shot onto the default themes and no one comes with number notations on colors :cry:

System info:
Ubuntu 13.10
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 12 2013 00:23:19)

Most helpful comment

Long time, no? :smile:

I figured it out! (At least on my environ)

Terminal must report the xterm256colors mode. Some applications can be configured on the properties. For others that can't, you can assign the environment variable TERM="xterm-256color"

captura de tela de 2014-10-07 18 16 34

Thank you so much!

All 9 comments

/cc @nuxlli

My problem with terminal vim is a bit different... after applying the dracula iterm theme which works fine, using dracula.vim in iTerm2 results in something like what looks like on the left:

iterm vim

On the right is another tmux pane running a shell script that shows the entire 256-color space for the terminal.

I think part of the problem is that the iTerm theme doesn't set any colors above 16 and yet the theme exclusively uses colors above 16, and seems to expect them to have been redefined.

@mattly I have the same problem, did you find a solution?

I must admit that I'm not a big expert in Vim that's why I cc'ed @nuxlli (who is the responsible for the vim theme), however he's probably busy with other stuff =/

I just found #49 which helps, but still does not make it look like in the README.

Here's what you'll get after applying that patch:

bildschirmfoto 2014-02-19 um 20 40 18

@dennisreimann my solution was to use and help create a different theme set, pencil. Sorry for the shameless plug. :)

/cc @cironunes

Long time, no? :smile:

I figured it out! (At least on my environ)

Terminal must report the xterm256colors mode. Some applications can be configured on the properties. For others that can't, you can assign the environment variable TERM="xterm-256color"

captura de tela de 2014-10-07 18 16 34

Thank you so much!

I've installed it lately and for me its working with Vim now too :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KabirKwatra picture KabirKwatra  ·  6Comments

gkroon picture gkroon  ·  3Comments

jldohmann picture jldohmann  ·  3Comments

sf-pear picture sf-pear  ·  5Comments

songjave picture songjave  ·  3Comments