Switch to gruvbox8 for better :terminal support

This commit is contained in:
Danielle McLean 2023-10-09 12:55:50 +11:00
parent 7535a684a9
commit 6ea9bbb645
Signed by: 00dani
GPG key ID: 52C059C3B22A753E
2 changed files with 6 additions and 17 deletions

View file

@ -20,29 +20,19 @@ if !isdirectory($XDG_CACHE_HOME .. '/vim/pack')
PackUpdate PackUpdate
endif 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 has('gui_running') || has('termguicolors')
if $COLORTERM == 'truecolor' if $COLORTERM == 'truecolor'
&t_8f = "\<Esc>[38:2:%lu:%lu:%lum" &t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
&t_8b = "\<Esc>[48:2:%lu:%lu:%lum" &t_8b = "\<Esc>[48:2:%lu:%lu:%lum"
endif endif
set termguicolors set termguicolors
silent! packadd gruvbox
g:airline_theme = 'gruvbox'
colorscheme gruvbox
else
colorscheme inkpot
endif endif
set background=dark
g:gruvbox_transp_bg = 1
g:airline_theme = 'gruvbox8'
colorscheme gruvbox8
inoremap jj <Esc> inoremap jj <Esc>
nnoremap <C-t> :Files<CR> nnoremap <C-t> :Files<CR>

View file

@ -14,8 +14,7 @@ minpac#add('k-takata/minpac', {type: 'opt'})
minpac#add('tpope/vim-sensible') minpac#add('tpope/vim-sensible')
minpac#add('prabirshrestha/async.vim') minpac#add('prabirshrestha/async.vim')
minpac#add('ciaranm/inkpot', {type: 'opt', do: 'colorscheme inkpot'}) minpac#add('lifepillar/vim-gruvbox8')
minpac#add('morhetz/gruvbox', {type: 'opt'})
minpac#add('direnv/direnv.vim') minpac#add('direnv/direnv.vim')
minpac#add('editorconfig/editorconfig-vim') minpac#add('editorconfig/editorconfig-vim')