Added black and fswitch config
This commit is contained in:
parent
1488172b57
commit
ffdce7362e
1 changed files with 7 additions and 0 deletions
|
@ -9,6 +9,7 @@ endif
|
|||
call plug#begin('~/.vim/vim-plug')
|
||||
Plug 'valloric/youcompleteme'
|
||||
Plug 'rhysd/vim-clang-format'
|
||||
Plug 'derekwyatt/vim-fswitch'
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'ambv/black'
|
||||
call plug#end()
|
||||
|
@ -32,6 +33,12 @@ nmap <F12> :YcmCompleter GoTo<CR>
|
|||
" vim-airline config
|
||||
let g:airline#extensions#whitespace#mixed_indent_algo = 2
|
||||
|
||||
" Black config
|
||||
autocmd BufWritePre *.py execute ':Black'
|
||||
|
||||
" vim-fswitch
|
||||
nmap <F5> :FSHere<CR>
|
||||
|
||||
" themes
|
||||
colorscheme elflord
|
||||
|
||||
|
|
Loading…
Reference in a new issue