diff --git a/.vimrc b/.vimrc index ef3a2b7..69461d8 100755 --- a/.vimrc +++ b/.vimrc @@ -33,6 +33,7 @@ if filereadable(expand(vundle_dir) . "/README.md") Plugin 'dense-analysis/ale' Plugin 'tpope/vim-unimpaired' Plugin 'JuliaEditorSupport/julia-vim' + Plugin 'tell-k/vim-autopep8' call vundle#end() " required else @@ -249,6 +250,7 @@ highlight GitGutterDelete ctermbg=NONE ctermfg=DarkRed highlight Search ctermbg=Brown ctermfg=LightRed highlight ColorColumn ctermbg=DarkBlue highlight Visual ctermbg=LightBlue +highlight DiffChange ctermbg=black ctermfg=lightgreen highlight ALEInfo ctermbg=DarkBlue ctermfg=White highlight ALEWarning ctermbg=DarkBlue ctermfg=Black highlight ALEError ctermbg=DarkRed ctermfg=Black @@ -328,6 +330,7 @@ let g:latex_to_unicode_auto = 1 noremap LaTeXtoUnicode#Toggle() noremap! LaTeXtoUnicode#Toggle() +autocmd FileType python noremap :call Autopep8() nmap cf :cd %:p:h " Change dir to parent of current file nmap cg :cd $git_root_location " Change dir to git root