Skip to content
Browse files

Happy birthday

  • Loading branch information...
0 parents commit aeaae259b004014d75b32a73cb06b1a2fc915eae khiltd committed Jan 15, 2012
Showing with 12 additions and 0 deletions.
  1. +5 −0 Default (OSX).sublime-keymap
  2. +7 −0 ScopeInspector.py
5 Default (OSX).sublime-keymap
@@ -0,0 +1,5 @@
+[
+ {
+ "keys": ["super+ctrl+alt+p"], "command": "scope_inspector"
+ }
+]
7 ScopeInspector.py
@@ -0,0 +1,7 @@
+import sublime, sublime_plugin
+
+class ScopeInspectorCommand(sublime_plugin.TextCommand):
+ def run(self, edit):
+ scopes = self.view.scope_name(self.view.sel()[0].begin()).split(' ')
+ for scope in scopes:
+ print scope

0 comments on commit aeaae25

Please sign in to comment.
Something went wrong with that request. Please try again.