Skip to content

Commit

Permalink
Exempt Eterm from t_Co=16
Browse files Browse the repository at this point in the history
Closes #101.
  • Loading branch information
tpope committed Sep 23, 2015
1 parent d0beb8a commit 027b239
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/sensible.vim
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ set ttimeoutlen=100
set incsearch
" Use <C-L> to clear the highlighting of :set hlsearch.
if maparg('<C-L>', 'n') ==# ''
nnoremap <silent> <C-L> :nohlsearch<CR><C-L>
nnoremap <silent> <C-L> :nohlsearch<C-R>has('diff')?'<Bar>diffupdate':''<CR><CR><C-L>
endif

set laststatus=2
Expand Down Expand Up @@ -81,7 +81,7 @@ endif
set sessionoptions-=options

" Allow color schemes to do bright colors without forcing bold.
if &t_Co == 8 && $TERM !~# '^linux'
if &t_Co == 8 && $TERM !~# '^linux\|^Eterm'
set t_Co=16
endif

Expand Down

0 comments on commit 027b239

Please sign in to comment.