add -E --use-editor hook for setting editor to launch