Added black and fswitch config

This commit is contained in:
Michael Mandl 2018-11-15 14:32:04 +01:00
parent 1488172b57
commit ffdce7362e

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