Added airline solarized theme and ctags config
This commit is contained in:
parent
c9a354dcd4
commit
d5314d36f4
@ -12,9 +12,11 @@ Plug 'valloric/youcompleteme'
|
|||||||
Plug 'rhysd/vim-clang-format'
|
Plug 'rhysd/vim-clang-format'
|
||||||
Plug 'derekwyatt/vim-fswitch'
|
Plug 'derekwyatt/vim-fswitch'
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
Plug 'ambv/black'
|
Plug 'ambv/black'
|
||||||
Plug 'altercation/vim-colors-solarized'
|
Plug 'altercation/vim-colors-solarized'
|
||||||
Plug 'kien/ctrlp.vim'
|
Plug 'kien/ctrlp.vim'
|
||||||
|
Plug 'craigemery/vim-autotag'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
@ -28,6 +30,9 @@ set number
|
|||||||
" always enable status line
|
" always enable status line
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
|
|
||||||
|
" search upwards for tags file
|
||||||
|
set tags=./tags;
|
||||||
|
|
||||||
" youcomleteme config
|
" youcomleteme config
|
||||||
let g:ycm_autoclose_preview_window_after_insertion = 1
|
let g:ycm_autoclose_preview_window_after_insertion = 1
|
||||||
let g:ycm_autoclose_preview_window_after_completion = 1
|
let g:ycm_autoclose_preview_window_after_completion = 1
|
||||||
@ -36,6 +41,7 @@ nmap <F12> :YcmCompleter GoTo<CR>
|
|||||||
|
|
||||||
" vim-airline config
|
" vim-airline config
|
||||||
let g:airline#extensions#whitespace#mixed_indent_algo = 2
|
let g:airline#extensions#whitespace#mixed_indent_algo = 2
|
||||||
|
let g:airline_solarized_bg='dark'
|
||||||
|
|
||||||
" Black config
|
" Black config
|
||||||
autocmd BufWritePre *.py execute ':Black'
|
autocmd BufWritePre *.py execute ':Black'
|
||||||
|
Reference in New Issue
Block a user