Created
August 13, 2011 15:35
-
-
Save akuzemchak/1143963 to your computer and use it in GitHub Desktop.
Reveal folder in Finder for Sublime Text 2
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 the following class... | |
class OpenThisFolderCommand(sublime_plugin.WindowCommand): | |
def run(self, dirs): | |
self.window.run_command("open_dir", {"dir": dirs[0]} ) | |
def is_visible(self, dirs): | |
return len(dirs) == 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment