Added black and fswitch config

main
mandlm 2018-11-15 14:32:04 +01:00
parent 1488172b57
commit ffdce7362e
1 changed files with 7 additions and 0 deletions

View File

@ -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