Thanks for sharing this! I have only tested this on windows7 x64 with ST2 2.0.1. This is the only custom package I have installed.
I can send mel selections to maya if I explicity run view.run_command('send_to_maya', {'lang':'mel'}).
But for me the Default (Windows).sublime-keymap only works with python selections but doesn't seem to detect MEL selections when the current file is MEL, though ST recognizes it as MEL .
Maybe the context entry "operand": "source.MEL" doesn't seem to resolve with MEL? (or I haven't set up the package correctly) The run_command doesn't even seem to get called with the mapped keys. (I have also tried using different key mappings but that doesn't make a difference)
Thanks for pointing that out. Surprised no one else came across this sooner. The capital MEL should be lower case mel. Latest commit should address it.
Thanks for sharing this! I have only tested this on windows7 x64 with ST2 2.0.1. This is the only custom package I have installed.
I can send mel selections to maya if I explicity run
view.run_command('send_to_maya', {'lang':'mel'})
.But for me the Default (Windows).sublime-keymap only works with python selections but doesn't seem to detect MEL selections when the current file is MEL, though ST recognizes it as MEL .
Maybe the context entry
"operand": "source.MEL"
doesn't seem to resolve with MEL? (or I haven't set up the package correctly) The run_command doesn't even seem to get called with the mapped keys. (I have also tried using different key mappings but that doesn't make a difference)