Skip to content

Instantly share code, notes, and snippets.

@simonw
Created July 11, 2012 12:35
Show Gist options
  • Save simonw/3090102 to your computer and use it in GitHub Desktop.
Save simonw/3090102 to your computer and use it in GitHub Desktop.
Setting up Sublime Text 2
First, install it from http://www.sublimetext.com/2
Next, install the package control extension from here:
http://wbond.net/sublime_packages/package_control
Installation instructions here: http://wbond.net/sublime_packages/package_control/installation
Restart Sublime, then hit Shift+Apple+P and search for "Package Control: Install Package"
Install Sublime Linter.
Open the Linter settings:
http://simonwillison.net/static/skitch/Fullscreen-20120711-133338.jpg
Paste in the following:
{
"sublimelinter_delay": 0.5,
"pep8_ignore":
[
"W293",
"E501",
"E203",
"E303",
"E225",
"E261",
"E251",
"E401",
"E301",
"E302",
"W291",
"W391"
]
}
@keimlink
Copy link

I find the trailing spaces plugin very helpful for Python coding: https://github.com/SublimeText/TrailingSpaces

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment