Created
December 4, 2013 23:30
-
-
Save dsandstrom/7797514 to your computer and use it in GitHub Desktop.
Sublime plugin
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
| # Sublime plugin | |
| # Save file: Packages/CloseProjectAndExit/close_project_and_exit.py | |
| # Copy to keymap: { "keys": ["ctrl+shift+`"], "command": "close_project_and_exit" } | |
| import sublime | |
| import sublime_plugin | |
| class CloseProjectAndExitCommand(sublime_plugin.WindowCommand): | |
| def run(self): | |
| self.window.run_command("close_project") | |
| self.window.run_command("close_window") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment