summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vimrc17
1 files changed, 13 insertions, 4 deletions
diff --git a/vimrc b/vimrc
index bcbd257..a66c580 100644
--- a/vimrc
+++ b/vimrc
@@ -22,18 +22,27 @@ set matchpairs+=<:>
syntax on
set title
set background=light
-set termguicolors
colorscheme quiet
set t_Co=256
-set tgc
+set termguicolors
+if &term =~ '256color'
+ " disable Background Color Erase (BCE) so that color schemes
+ " render properly when inside 256-color tmux and GNU screen.
+ " see also https://sunaku.github.io/vim-256color-bce.html
+ set t_ut=
+endif
hi Normal guifg=black guibg=#FFFFFF
-"hi String guifg=blue
-hi Comment guifg=blue cterm=italic
+"hi String guifg=blue guibg=white
+hi Comment guifg=blue guibg=white cterm=italic
hi Directory cterm=bold
hi SpellBad term=reverse term=underline guibg=#FFFFFF
hi SpellCap term=reverse term=underline guibg=#FFFFFF
hi SpellRare term=reverse term=underline guibg=#FFFFFF
hi SpellLocal term=reverse term=underline guibg=#FFFFFF
+hi clear StatusLine
+hi clear PmenuKindSel
+hi PmenuKindSel term=bold guifg=blue guibg=#333333
+hi StatusLine term=bold guifg=white guibg=#333333
"" Cursor - switch between line and full when going to insert mode
let &t_SI = "\<Esc>[6 q"