Skip to content

Instantly share code, notes, and snippets.

@danielmt
Created November 17, 2014 17:05
Show Gist options
  • Save danielmt/ee5cbad23f187ab9fe2a to your computer and use it in GitHub Desktop.
Save danielmt/ee5cbad23f187ab9fe2a to your computer and use it in GitHub Desktop.
Auto reveal file in sidebar when activated
import sublime, sublime_plugin
class AutoRevealInSideBar(sublime_plugin.EventListener):
def on_activated(self, view):
view.window().run_command('reveal_in_side_bar')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment