Hi-I'm doing just a bit of python coding lately, and I want to map the F5 function key to execute the current file. (I think this would just run execfile(current_file) in the python interpreter). Can someone please help me set this up?Thanks
You probably want to use build systems:
Sublime 2 ships with one for Python: go to Tools | Build System, check Python, press F7.
That didn't exactly work for me. I think I'd like to understand the key bindings and API approach anyway, for future reference.