Skip to content

Commit

Permalink
Update hotkeys.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Varriount authored May 23, 2017
1 parent 98659f3 commit 61d59cb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions nimlime_core/commands/hotkeys.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@


def gen_sync_settings(key, default):
print('f')
global sync_list

def sync_settings():
print('e', key)
v = sublime.active_window().active_view()
v.settings().set(key, settings.get(key, default))

Expand All @@ -29,19 +27,15 @@ def sync_settings():

class HotkeySyncer(EventListener):
def sync(self):
print('d')
global sync_list
for callback in sync_list.values():
callback()

def on_new(self, view):
print('c')
self.sync()

def on_clone(self, view):
print('b')
self.sync()

def on_load(self, view):
print('a')
self.sync()

0 comments on commit 61d59cb

Please sign in to comment.