vim-python-formatInstallYou need first install yapfpip3 install yapfAdd this plugin to vim by vundleAdd next lines to your .vimrc:autocmdFileTypepythonnnoremap<buffer><c-k>:call PythonFormat()<cr>autocmdBufWrite*.pycallPythonFormat()