Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 297 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 297 Bytes

vim-python-format

Install

  1. You need first install yapf
pip3 install yapf
  1. Add this plugin to vim by vundle

  2. Add next lines to your .vimrc:

autocmd FileType python nnoremap <buffer> <c-k> :call PythonFormat()<cr>
autocmd BufWrite *.py call PythonFormat()