mirror of
https://github.com/tpope/vim-sensible.git
synced 2025-11-10 12:03:48 -05:00
Exempt Eterm from t_Co=16
Closes https://github.com/tpope/vim-sensible/issues/101.
This commit is contained in:
@@ -30,7 +30,7 @@ set ttimeoutlen=100
|
|||||||
set incsearch
|
set incsearch
|
||||||
" Use <C-L> to clear the highlighting of :set hlsearch.
|
" Use <C-L> to clear the highlighting of :set hlsearch.
|
||||||
if maparg('<C-L>', 'n') ==# ''
|
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
|
endif
|
||||||
|
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
@@ -81,7 +81,7 @@ endif
|
|||||||
set sessionoptions-=options
|
set sessionoptions-=options
|
||||||
|
|
||||||
" Allow color schemes to do bright colors without forcing bold.
|
" 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
|
set t_Co=16
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user