fix EDITOR export and add .doingrc