Skip to content

Instantly share code, notes, and snippets.

@laacz
Created November 20, 2012 18:34
Show Gist options
  • Save laacz/4119958 to your computer and use it in GitHub Desktop.
Save laacz/4119958 to your computer and use it in GitHub Desktop.
SublimeText 2 setup

My SublimeText 2 Set-Up

I usually install TortoiseGit and msysgit, so these two are required.

Install Package Control

import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart SublimeText to finish installation'

Install Following Packages

DocBlockr, HTML5, jQuery, JsFormat, Package Control, PHP-Twig, SideBarEnhancements, SublimeCodeIntel, Theme - Soda, Tortoise, TrailingSpaces, ZenCoding, PHPUnit.

Fix broken Tortoise plugin's "File not found" on Win x64

Modify Tortoise.py from Tortoise package as follows (adjust git_path).

class Git():
    def __init__(self, tortoise_proc_path, root_dir):
        self.git_path = 'C:\\Program Files (x86)\\Git\\bin' + '\\git.exe'
        self.root_dir = root_dir

Config

{
	"theme": "Soda Dark.sublime-theme",
	"soda_classic_tabs": true,
    "font_face": "Consolas",
    "bold_folder_labels": true,
	"ignored_packages":
	[
		"Vintage"
	]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment