fallback to use vi as def editor; fix idas to use file/dir as basis for uid