Browse Source

escape sequences

master
Juni Kim 2 years ago
parent
commit
3ed9b9b392
  1. 16
      lsp.vimrc
  2. 2
      minimal.vimrc

16
lsp.vimrc

@ -174,16 +174,26 @@ endif
" Goyo and themes " Goyo and themes
if has('termguicolors')
set termguicolors
function Catppuccin()
set background=dark set background=dark
colorscheme catppuccin_mocha colorscheme catppuccin_mocha
let g:airline_theme = "catppuccin_mocha" let g:airline_theme = "catppuccin_mocha"
else
endfu
function Seoul256()
let g:seoul256_background = 234 let g:seoul256_background = 234
let g:airline_theme = "seoul256" let g:airline_theme = "seoul256"
set background=dark set background=dark
colorscheme seoul256 colorscheme seoul256
endfu
if has('termguicolors')
set termguicolors
call Catppuccin()
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
else
call Seoul256()
endif endif
autocmd! User GoyoEnter Limelight autocmd! User GoyoEnter Limelight

2
minimal.vimrc

@ -165,6 +165,8 @@ if has('termguicolors')
set background=dark set background=dark
colorscheme catppuccin_mocha colorscheme catppuccin_mocha
let g:airline_theme = "catppuccin_mocha" let g:airline_theme = "catppuccin_mocha"
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
else else
echo 'no termguicolors, falling back to seoul256' echo 'no termguicolors, falling back to seoul256'
let g:seoul256_background = 234 let g:seoul256_background = 234

Loading…
Cancel
Save