Hi,
Is it possible in ST2 to define a keybinding (in a plugin) that is only enabled for a particular syntax? Basically, I’m writing a plugin to integrate pypi.python.org/pypi/mr.igor so that when I press cmd+i it’ll run the igor command. I’ve got a plugin folder with a Default (OSX).sublime-keymap with:
{ "keys": "super+i"], "command": "igor_replace" }
]
This works, but I gather this means cmd+i is taken over across ST2, not just when the Python syntax is in effect.
Martin