diff --git a/.vimrc b/.vimrc index f83e54f..cea9182 100644 --- a/.vimrc +++ b/.vimrc @@ -11,12 +11,16 @@ set tags=./tags;/ " Search up to / for tags file set updatetime=100 set clipboard=unnamedplus " Use system clipboard -set termguicolors -let &t_8f = "\[38:2:%lu:%lu:%lum" -let &t_8b = "\[48:2:%lu:%lu:%lum" -syntax enable +if empty($DISPLAY) + colorscheme elflord +else + set termguicolors + let &t_8f = "\[38:2:%lu:%lu:%lum" + let &t_8b = "\[48:2:%lu:%lu:%lum" + syntax enable -colorscheme jellybeans + colorscheme jellybeans +endif let mapleader=" "