Added black and fswitch config

This commit is contained in:
mandlm 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') call plug#begin('~/.vim/vim-plug')
Plug 'valloric/youcompleteme' Plug 'valloric/youcompleteme'
Plug 'rhysd/vim-clang-format' Plug 'rhysd/vim-clang-format'
Plug 'derekwyatt/vim-fswitch'
Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline'
Plug 'ambv/black' Plug 'ambv/black'
call plug#end() call plug#end()
@ -32,6 +33,12 @@ 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
" Black config
autocmd BufWritePre *.py execute ':Black'
" vim-fswitch
nmap <F5> :FSHere<CR>
" themes " themes
colorscheme elflord colorscheme elflord