Skip to content

Instantly share code, notes, and snippets.

@avhm
Created December 30, 2011 22:24
Show Gist options
  • Save avhm/1541764 to your computer and use it in GitHub Desktop.
Save avhm/1541764 to your computer and use it in GitHub Desktop.
Open current folder in Sublime Text 2 - Add this to your finder Toolbar
tell application "Finder"
set thisFolder to (target of front window) as Unicode text
set posixPath to quoted form of POSIX path of thisFolder
do shell script "/Applications/Sublime\\ Text\\ 2.app/Contents/SharedSupport/bin/subl " & posixPath
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment