Skip to content

Instantly share code, notes, and snippets.

@samhunta
Forked from jacob-ogre/NerdTree.py
Created October 19, 2017 17:24
Show Gist options
  • Save samhunta/76685c29cdbc314e3038060d91355142 to your computer and use it in GitHub Desktop.
Save samhunta/76685c29cdbc314e3038060d91355142 to your computer and use it in GitHub Desktop.
NerdTree-like behavior for Sublime Text 2
import sublime, sublime_plugin
class NerdTreeCommand(sublime_plugin.WindowCommand):
def run(self):
self.window.run_command("toggle_side_bar")
self.window.run_command("focus_side_bar")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment