Skip to content

Instantly share code, notes, and snippets.

@cpappen
Created May 3, 2016 04:07
Show Gist options
  • Save cpappen/0651763b7d35faa01207278bae2a45d2 to your computer and use it in GitHub Desktop.
Save cpappen/0651763b7d35faa01207278bae2a45d2 to your computer and use it in GitHub Desktop.
GNOME Terminal supports 256 colors, but doesn't advertise its support. You can override vim's autodetection by putting the following in your ~/.vimrc
if $COLORTERM == 'gnome-terminal'
set t_Co=256
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment