Switch to gruvbox8 for better :terminal support
This commit is contained in:
parent
7535a684a9
commit
6ea9bbb645
2 changed files with 6 additions and 17 deletions
|
@ -20,29 +20,19 @@ if !isdirectory($XDG_CACHE_HOME .. '/vim/pack')
|
|||
PackUpdate
|
||||
endif
|
||||
|
||||
augroup transparent_term
|
||||
autocmd!
|
||||
autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE
|
||||
augroup END
|
||||
|
||||
set background=dark
|
||||
g:gruvbox_italic = 1
|
||||
g:gruvbox_improved_strings = 1
|
||||
g:gruvbox_improved_warnings = 1
|
||||
|
||||
if has('gui_running') || has('termguicolors')
|
||||
if $COLORTERM == 'truecolor'
|
||||
&t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
|
||||
&t_8b = "\<Esc>[48:2:%lu:%lu:%lum"
|
||||
endif
|
||||
set termguicolors
|
||||
silent! packadd gruvbox
|
||||
g:airline_theme = 'gruvbox'
|
||||
colorscheme gruvbox
|
||||
else
|
||||
colorscheme inkpot
|
||||
endif
|
||||
|
||||
set background=dark
|
||||
g:gruvbox_transp_bg = 1
|
||||
g:airline_theme = 'gruvbox8'
|
||||
colorscheme gruvbox8
|
||||
|
||||
inoremap jj <Esc>
|
||||
nnoremap <C-t> :Files<CR>
|
||||
|
||||
|
|
|
@ -14,8 +14,7 @@ minpac#add('k-takata/minpac', {type: 'opt'})
|
|||
minpac#add('tpope/vim-sensible')
|
||||
minpac#add('prabirshrestha/async.vim')
|
||||
|
||||
minpac#add('ciaranm/inkpot', {type: 'opt', do: 'colorscheme inkpot'})
|
||||
minpac#add('morhetz/gruvbox', {type: 'opt'})
|
||||
minpac#add('lifepillar/vim-gruvbox8')
|
||||
|
||||
minpac#add('direnv/direnv.vim')
|
||||
minpac#add('editorconfig/editorconfig-vim')
|
||||
|
|
Loading…
Reference in a new issue