Browse Source

catppuccin and backspace fix

master
Juni Kim 2 years ago
parent
commit
0ea4c51b26
  1. 19
      lsp.vimrc
  2. 18
      minimal.vimrc
  3. 2
      noplug.vimrc

19
lsp.vimrc

@ -3,6 +3,7 @@ filetype on
syntax on
set nocompatible hidden laststatus=2
set backspace=indent,eol,start
let g:mapleader=" "
let g:just_installed = 0
@ -49,7 +50,12 @@ if g:just_installed == 1
endif
call plug#begin()
if has('termguicolors')
Plug 'catppuccin/vim'
else
Plug 'junegunn/seoul256.vim'
endif
Plug 'prabirshrestha/asyncomplete.vim'
Plug 'prabirshrestha/vim-lsp'
@ -168,15 +174,22 @@ endif
" Goyo and themes
let g:seoul256_background = 234
if has('termguicolors')
set termguicolors
set background=dark
colorscheme catppuccin_mocha
let g:airline_theme = "catppuccin_mocha"
else
echo 'no termguicolors, falling back to seoul256'
let g:seoul256_background = 234
let g:airline_theme = "seoul256"
set background=dark
colorscheme seoul256
endif
autocmd! User GoyoEnter Limelight
autocmd! User GoyoLeave Limelight!
let g:airline_theme = "seoul256"
let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#enabled = 1
@ -242,7 +255,7 @@ if executable('texlab')
autocmd User lsp_setup call lsp#register_server({
\'name': 'texlab',
\'cmd': {server_info->['texlab']},
\'whitelist': ['tex']
\'whitelist': ['tex', 'bib']
\})
endif

18
minimal.vimrc

@ -4,6 +4,7 @@ syntax on
let g:mapleader=" "
let g:just_installed = 0
set backspace=indent,eol,start
function! InstallPlug()
@ -47,7 +48,12 @@ if g:just_installed == 1
endif
call plug#begin()
if has('termguicolors')
Plug 'catppuccin/vim'
else
Plug 'junegunn/seoul256.vim'
endif
Plug 'Townk/vim-autoclose'
Plug 'tpope/vim-fugitive'
@ -156,16 +162,22 @@ if g:just_installed == 1
PlugInstall
endif
if has('termguicolors')
set termguicolors
set background=dark
colorscheme catppuccin_mocha
let g:airline_theme = "catppuccin_mocha"
else
echo 'no termguicolors, falling back to seoul256'
let g:seoul256_background = 234
let g:airline_theme = "seoul256"
set background=dark
colorscheme seoul256
let g:seoul256_background = 233
endif
autocmd! User GoyoEnter Limelight
autocmd! User GoyoLeave Limelight!
let g:airline_theme = "seoul256"
let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#enabled = 1
nnoremap <leader>z :Goyo <CR>

2
noplug.vimrc

@ -7,6 +7,8 @@ if exists('syntax on')
endif
let g:mapleader=" "
set backspace=indent,eol,start
" options
set nu
set rnu

Loading…
Cancel
Save