The Emacs
plugin is maintained separately.
Installation directions can be found here: https://github.com/paetzke/py-yapf.el
The vim
plugin allows you to reformat a range of code. Place it into the
.vim/autoload
directory or use a plugin manager like Plug or Vundle:
You can add key bindings in the .vimrc
file:
map <C-Y> :call yapf#YAPF()<cr>
imap <C-Y> <c-o>:call yapf#YAPF()<cr>
The Sublime Text
plugin is also maintained separately.
It is compatible with both Sublime Text 2 and 3.
The plugin can be easily installed by using Sublime Package Control. Check the project page of the plugin for more information: https://github.com/jason-kane/PyYapf