iterm vim colorscheme not working

Derek Organ picture Derek Organ · Sep 21, 2010 · Viewed 45.6k times · Source

When I run vim from the command line in iTerm, syntax highlighting doesn't seem to work locally.

In vim for example I have installed a nice colorscheme that works quite well in MacVim but it would be great if in iTerm it showed the same one.

Any ideas how I can turn this on?

This is the color scheme I'm trying to use http://www.vim.org/scripts/script.php?script_id=2340

Answer

Sean picture Sean · Sep 22, 2010

In order to turn code highlighting on in vim, try to enable the syntax plugin:

:syntax enable