You must log in or # to comment.
I don’t remember what program it was but I once went to configure something, and the command to “open settings” essentially just opened a text file in vim.
Being a nano scrub that took me a second to get out of.
It probably opened it in
${VISUAL:-${EDITOR:-vim}}
; usually setting one of those variables in e.g. bashrc will avoid future vim.