Skip to content

A VIM plugin to make life feasible in the presence of space-hippies.

Notifications You must be signed in to change notification settings

zardus/fuckpep8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

FuckPEP8

This plugin is intended to make life feasible for those of us who are right in the head, and use the proper tools (tabs) for indentation. It uses the awesome detectindent plugin (http://www.vim.org/scripts/script.php?script_id=1171) to detect how many spaces the poor misguided souls that originally wrote a given Python file use, replace them with tabs, and switch it back before saving.

Pull requests to undo other annoying pep8 insanity are welcome :-)

Special thanks to Luca Invernizzi for the initial prototype of this concept!

Install

With Vundle

Add these lines to your .vimrc

Bundle 'zardus/fuckpep8'
Bundle 'ciaranm/detectindent'

And execute:

vim +BundleInstall  +qall

Manually

First, install detectindent and configure some reasonable defaults.

Then, install fuckpep8.

Then, make sure you have filetype plugins enabled in VIM:

filetype plugin on

That's it!

About

A VIM plugin to make life feasible in the presence of space-hippies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •