better way to set EDITOR