External editor possibility

This post was targeted at Rhino for Mac users, but it might be useful to you: Rhino for Mac users can also write and execute Python scripts

They are using Github’s Atom Editor.