UPDATES :

* undead colorscheme
    * Airline (with undead color, enable powerline fonts)
This commit is contained in:
infidel 2022-07-07 00:10:27 +07:00
parent bc2fd9033e
commit f849244d61
2 changed files with 15 additions and 3 deletions

14
.vimrc
View File

@ -1,5 +1,6 @@
" infidel " infidel
call plug#begin('~/.vim/plugged') call plug#begin('~/.vim/plugged')
" Essentials " Essentials
@ -10,6 +11,8 @@ Plug 'junegunn/fzf.vim'
Plug 'junegunn/goyo.vim' Plug 'junegunn/goyo.vim'
Plug 'junegunn/limelight.vim' Plug 'junegunn/limelight.vim'
Plug 'gyim/vim-boxdraw' Plug 'gyim/vim-boxdraw'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
" Auto Completes " Auto Completes
Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'neoclide/coc.nvim', {'branch': 'release'}
@ -23,6 +26,7 @@ Plug 'rakr/vim-two-firewatch'
Plug 'lifepillar/vim-gruvbox8' Plug 'lifepillar/vim-gruvbox8'
Plug 'drewtempelmeyer/palenight.vim' Plug 'drewtempelmeyer/palenight.vim'
Plug 'kaicataldo/material.vim', { 'branch': 'main' } Plug 'kaicataldo/material.vim', { 'branch': 'main' }
Plug 'UndeadLeech/vim-undead'
call plug#end() call plug#end()
@ -45,7 +49,7 @@ set mouse=a " Enable mouse on all modes
set clipboard=unnamed,unnamedplus " Use the OS clipboard set clipboard=unnamed,unnamedplus " Use the OS clipboard
set showmatch set showmatch
"set termguicolors "set termguicolors
set t_Co=256 " set t_Co=256
set splitright splitbelow set splitright splitbelow
set list lcs=tab:\¦\ "(here is a space) set list lcs=tab:\¦\ "(here is a space)
let &t_SI = "\e[6 q" " Make cursor a line in insert let &t_SI = "\e[6 q" " Make cursor a line in insert
@ -66,8 +70,8 @@ augroup vimrc-remember-cursor-position
augroup END augroup END
set background=dark set background=dark
colo gruvbox8_hard " colo gruvbox8_hard
colo undead
map <C-k><C-k> :NERDTreeToggle<cr> " Use Ctrl-P to open the fuzzy file opener map <C-k><C-k> :NERDTreeToggle<cr> " Use Ctrl-P to open the fuzzy file opener
nnoremap <C-p> :Files<cr> nnoremap <C-p> :Files<cr>
@ -133,3 +137,7 @@ autocmd! User GoyoEnter Limelight
autocmd! User GoyoLeave Limelight! autocmd! User GoyoLeave Limelight!
" Toggle Goyo " Toggle Goyo
nmap <F8> : Goyo<cr> nmap <F8> : Goyo<cr>
"Airline
let g:airline_theme = 'undead'
let g:airline_powerline_fonts = 1

View File

@ -44,6 +44,10 @@ Toggle Limelight from command input mode `:Limelight` or use the <Leader><l> sho
CoC now can use tab to navigate completion list. Make sure the target machine have nodejs for CoC to run properly. CoC now can use tab to navigate completion list. Make sure the target machine have nodejs for CoC to run properly.
### Airline
I use airline as status bar
**CoC Extensions included** : **CoC Extensions included** :
- `coc-vimlsp` for VIM script - `coc-vimlsp` for VIM script