Replaced airline with lightline
This commit is contained in:
parent
7a8551a376
commit
4af51b8ea1
1 changed files with 6 additions and 6 deletions
12
vim/vimrc
12
vim/vimrc
|
@ -15,8 +15,7 @@ call plug#begin('~/.vim/vim-plug')
|
||||||
Plug 'valloric/youcompleteme', { 'do': './install.py --clang-completer' }
|
Plug 'valloric/youcompleteme', { 'do': './install.py --clang-completer' }
|
||||||
Plug 'rhysd/vim-clang-format'
|
Plug 'rhysd/vim-clang-format'
|
||||||
Plug 'derekwyatt/vim-fswitch'
|
Plug 'derekwyatt/vim-fswitch'
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'itchyny/lightline.vim'
|
||||||
Plug 'vim-airline/vim-airline-themes'
|
|
||||||
Plug 'ambv/black'
|
Plug 'ambv/black'
|
||||||
Plug 'altercation/vim-colors-solarized'
|
Plug 'altercation/vim-colors-solarized'
|
||||||
Plug 'craigemery/vim-autotag'
|
Plug 'craigemery/vim-autotag'
|
||||||
|
@ -30,6 +29,9 @@ call plug#end()
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
|
|
||||||
|
" dark theme
|
||||||
|
set background=dark
|
||||||
|
|
||||||
" line numbers
|
" line numbers
|
||||||
set number
|
set number
|
||||||
|
|
||||||
|
@ -46,9 +48,8 @@ let g:ycm_autoclose_preview_window_after_completion = 1
|
||||||
|
|
||||||
nmap <F12> :YcmCompleter GoTo<CR>
|
nmap <F12> :YcmCompleter GoTo<CR>
|
||||||
|
|
||||||
" vim-airline config
|
" lightline config
|
||||||
let g:airline#extensions#whitespace#mixed_indent_algo = 2
|
let g:lightline = { 'colorscheme': 'solarized' }
|
||||||
let g:airline_solarized_bg='dark'
|
|
||||||
|
|
||||||
" Black config
|
" Black config
|
||||||
autocmd BufWritePre *.py execute ':Black'
|
autocmd BufWritePre *.py execute ':Black'
|
||||||
|
@ -57,7 +58,6 @@ autocmd BufWritePre *.py execute ':Black'
|
||||||
nmap <ESC>o :FSHere<CR>
|
nmap <ESC>o :FSHere<CR>
|
||||||
|
|
||||||
" vim-colors-solarized
|
" vim-colors-solarized
|
||||||
set background=dark
|
|
||||||
colorscheme solarized
|
colorscheme solarized
|
||||||
|
|
||||||
" fzf.vim
|
" fzf.vim
|
||||||
|
|
Loading…
Reference in a new issue