Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 747 Bytes

README.rst

File metadata and controls

30 lines (21 loc) · 747 Bytes

IDE Plugins

Emacs

The Emacs plugin is maintained separately. Installation directions can be found here: https://github.com/paetzke/py-yapf.el

VIM

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>

Sublime Text

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