check if gui is running

This commit is contained in:
ManjaroOne666 2018-02-03 18:54:18 +00:00
parent 123b9edef8
commit 45f3fddd5f
1 changed files with 4 additions and 3 deletions

7
vimrc
View File

@ -102,9 +102,10 @@ filetype plugin indent on " required
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
" let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
" let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
set termguicolors
if has("gui_running")
set termguicolors
endif
colorscheme customred256
set backupdir=~/.vimtmp