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. 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