Execute selected code snippets or the whole .py file from sublime in mari.
Sublime 2 & 3 compatible
Download the zip file and extract the archive.
In sublime go to Preferences > Browse Packages.
Place the extracted folder in the sublime packages folder.
User this command to toggle command port in mari
mari.app.enableCommandPort( not ( mari.app.commandPortEnabled() ) )
Select a code snippet and press ctrl + m.
Only the selected snippet will be executed in mari.
Deselect everything and press ctrl + m.
The whole file will be executed in mari.
https://github.com/justinfx/MayaSublime
https://github.com/svenfraeys/SublimeBlender
http://net.tutsplus.com/tutorials/python-tutorials/how-to-create-a-sublime-text-2-plugin/
seperated logic in a module to use as a library