Vim: Use sonokai colorscheme
This commit is contained in:
parent
e0cc8e6795
commit
efb90a6689
@ -35,5 +35,6 @@ set-window-option -g window-status-style fg=colour239,bg=default
|
|||||||
# bell
|
# bell
|
||||||
set-window-option -g window-status-bell-style fg=colour232,bg=colour253
|
set-window-option -g window-status-bell-style fg=colour232,bg=colour253
|
||||||
|
|
||||||
# Correct colors, NOTE you also need to alias tmux as `tmux -2`
|
# Correct colors
|
||||||
set -g default-terminal "tmux-256color"
|
set -g default-terminal "tmux-256color"
|
||||||
|
set -ga terminal-overrides ",*256col*:Tc"
|
||||||
|
@ -3,7 +3,6 @@ set colorcolumn=80
|
|||||||
set background=dark
|
set background=dark
|
||||||
set cursorline
|
set cursorline
|
||||||
syntax on
|
syntax on
|
||||||
colorscheme monokai
|
|
||||||
|
|
||||||
" python
|
" python
|
||||||
au BufNewFile,BufRead *.py,*.go set tabstop=4 softtabstop=4 shiftwidth=4
|
au BufNewFile,BufRead *.py,*.go set tabstop=4 softtabstop=4 shiftwidth=4
|
||||||
@ -28,20 +27,36 @@ Plug 'junegunn/fzf.vim'
|
|||||||
Plug 'luochen1990/rainbow'
|
Plug 'luochen1990/rainbow'
|
||||||
Plug 'psf/black'
|
Plug 'psf/black'
|
||||||
" Themes
|
" Themes
|
||||||
Plug 'crusoexia/vim-monokai'
|
Plug 'sainnhe/sonokai'
|
||||||
" Language specific
|
" Language specific
|
||||||
Plug 'vim-python/python-syntax'
|
Plug 'sheerun/vim-polyglot'
|
||||||
|
"Plug 'vim-python/python-syntax'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
" Preconditions for plugins
|
|
||||||
" ale: apt install pylint flake8
|
" Theme
|
||||||
|
if has('termguicolors')
|
||||||
|
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||||
|
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||||
|
set termguicolors
|
||||||
|
endif
|
||||||
|
"let g:sonokai_style = 'shusia'
|
||||||
|
let g:sonokai_enable_italic = 1
|
||||||
|
let g:sonokai_disable_italic_comment = 1
|
||||||
|
colorscheme sonokai
|
||||||
|
let g:airline_theme = 'sonokai'
|
||||||
|
|
||||||
" Ale
|
" Ale
|
||||||
let g:ale_linters = {'python': ['flake8', 'pylint'],}
|
let g:ale_linters = {'python': ['flake8', 'pylint'],}
|
||||||
let g:ale_fixers = {}
|
let g:ale_fixers = {}
|
||||||
let g:ale_fixers.python = ['black']
|
let g:ale_fixers.python = ['black']
|
||||||
|
|
||||||
|
" Black
|
||||||
let g:black_linelength = 80
|
let g:black_linelength = 80
|
||||||
|
|
||||||
|
" ycm
|
||||||
|
let g:ycm_autoclose_preview_window_after_insertion = 1
|
||||||
|
let g:ycm_autoclose_preview_window_after_completion = 1
|
||||||
|
|
||||||
" NERDTREE
|
" NERDTREE
|
||||||
" open nerdtree when no file is specified on startup
|
" open nerdtree when no file is specified on startup
|
||||||
autocmd StdinReadPre * let s:std_in=1
|
autocmd StdinReadPre * let s:std_in=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user