Use core.editor to determine editor
Merge pull request #2 from abligh/master

Use core.editor to determine editor