Last active
October 6, 2017 21:36
-
-
Save volure/039861cf95a108f853a3 to your computer and use it in GitHub Desktop.
OSX: Setup Sublime Text 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add Open With Sublime Service. | |
1. Open Automator. | |
2. New Service as "Shell Script" | |
3. /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl -n $$ | |
4. Save as "Open In Sublime" | |
Add Command Functionality to open in sublime text | |
1. ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /bin/subl | |
2. restart terminal | |
Add "Package Control". | |
URL: wbond.net/sublime_backages/package_control | |
1. Press "Control+~" to open Console | |
2. paste in : | |
import urllib.request,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a3098092775ccb37ca9d6b2e4b7d'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by) | |
3. Restart Sublime Text | |
Install Packages | |
1. Press "Command+Shift+P" | |
2. Type "Install" | |
sublimexiki: Terminal from Sublime | |
prefixr: css prefix handler | |
Nettuts+ fetch: fetch file/zip into project | |
sidebarenhancements: Adds more functions to sidebar right click | |
Also enables "open in browser" with "url" in sublime-project file | |
sublimelinter: Gives you feedback for bad syntax | |
HaoGist: Allows you to use Gist for "Snippet" type management | |
"Browse Packages"=> Gist\gist.sublime-settings | |
Set Username & Password | |
Then restart Sublime Text | |
DocBlockr: Documentation Automation | |
PlainTasks: TODO Lists within Sublime | |
Http Requester: Request from Selected URL "Command+Alt+R" | |
Can I Use: CSS Support Check | |
LiveReload: Live Reload Plugin for Web Development | |
Emmet: Zen Coding Replacement | |
Live Style: Live CSS Stylesheet Editor plugin | |
Update Fetch with Default Files | |
1. Press "Command+Shift+P" | |
2. Type "Fetch:Manage Remote Files" | |
------------ Everything After This Line -------------------- | |
{ | |
"files": | |
{ | |
"jquery": "http://code.jquery.com/jquery.min.js", | |
"normalize": "https://raw.github.com/necolas/normalize.css/master/normalize.css" | |
}, | |
"packages": | |
{ | |
"html5_boilerplate": "https://github.com/h5bp/html5-boilerplate/zipball/master", | |
"wordpress": "http://wordpress.org/latest.zip" | |
} | |
} | |
------------ Everything Before This Line -------------------- | |
Change Split Window Sizes | |
Keybindings: Groups | |
Change Args, or add new elements with custom sizes | |
TODO:: New Build System | |
"cmd": ["arg1", "arg2", "$file"], // http://docs.sublimetext.info/en/latest/reference/build_systems.html | |
"selector": "source.coffee" | |
"path": "/usr/local/bin" // Path to Command | |
Blob: | |
adfaafa025 4fbf1cb338 1228e7261c 7fc0d255f0 e3080c0e34 | |
b1d32ba9f9 7b710719f5 02b4e93298 fc9330396a 923b305b5d | |
d111b29381 db46ebc52f 5bd9a0fe73 de4bab1008 5ba5a6ff35 | |
a71dd11b0f 16b98d50ea 1dfc2040e2 0da292f4b0 9024381a04 | |
90d2bd9232 e320445951 b5dc74d7fc 882e86e9b5 76c39550d9 | |
639db7d008 c7bd0c39a1 29ac1cca6a 18ba1779cb 887e8c6ad6 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment