Home Download Buy Blog Forum Support

My plugin's keymaps aren't loading

My plugin's keymaps aren't loading

Postby poiop on Thu Feb 23, 2012 10:52 am

Hi,

From yesterday to today, my plugin's keymaps suddenly stopped working, for some reason. The definitions from the Default.sublime-commands file also don't appear in cmd+shift+P.

What can be the problem?

I didn't change the keymap file since a week ago and it only stopped working today. Contents:
Code: Select all
[master?!//~PLUGIN]% cat Default.sublime-commands
[
   {
      "caption": "command A",
      "command": "lol"
   },
   {
      "caption": "command B",
      "command": "rofl"
   }
]
[master?!//~PLUGIN]% cat Default.sublime-keymap
[
    {
        "command": "lol",
        "keys": ["shift+super+l"]
    },
    {
        "command": "rofl",
        "keys": ["shift+super+k"]
    }
]


I also have the classes LolCommand and RoflCommand, each one inheriting from sublime_plugin.WindowCommand.
The python file loads perfectly, with no errors or warnings (I used --debug to start sublime text).

I have the plugin in a development directory and have a symlink to it in sublime text's Packages directory (as I have for more plugins that still work).

Any clues?
poiop
 
Posts: 2
Joined: Wed Feb 22, 2012 8:40 pm

Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 6 guests