From b9974151b8c830df347edb9f34c9eda5c36f1b82 Mon Sep 17 00:00:00 2001 From: dgitelson Date: Fri, 2 Sep 2016 11:29:18 +0300 Subject: [PATCH] Enable 256 color palettes for Gnome Terminal. --- vimrcs/basic.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vimrcs/basic.vim b/vimrcs/basic.vim index 837469f7..85eb91bc 100644 --- a/vimrcs/basic.vim +++ b/vimrcs/basic.vim @@ -141,6 +141,11 @@ set foldcolumn=1 " Enable syntax highlighting syntax enable +" Enable 256 colors palette in Gnome Terminal +if $COLORTERM == 'gnome-terminal' + set t_Co=256 +endif + try colorscheme desert catch