To use atom as your default editor, set your
EDITOR environment variable to
--wait option, which I used with TextMate’s
mate tool also appears to work here.
I didn’t see this documented anywhere so I thought I’d share it.