Created
April 23, 2012 03:58
-
-
Save malsup/2468764 to your computer and use it in GitHub Desktop.
Additional functionality for Sublime Text "SortTabs" 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
import sublime, sublime_plugin | |
# additional functionality for SortTabs plugin | |
# https://github.com/bizoo/SortTabs | |
# trigger SortTabs when a file is activated | |
class SortTabsListener(sublime_plugin.EventListener): | |
def on_activated(self, view): | |
w = view.window() | |
if w != None: | |
w.run_command('sort_tabs_by_name'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment