Discard unsaved changes in editor (similar to git commit).
Merge pull request #4 from jsolmon/master

Discard unsaved changes in editor (similar to git commit).