Really seems like they're missing one...
Really seems like they're missing one...
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.
Sometimes, programs that need to start up an editor will honour the $EDITOR environment variable, which should contain the name of, or full path to, a user's preferred editor.
It's not set by default though, and a lot of things will naturally default to vi or even ed. Something to be set in a .profile, .bashrc or similar.
$VISUAL is another variable that is used for similar purposes.
The resemblance to certain two letter commands is not entirely a coincidence.
${VISUAL:-${EDITOR:-vim}}; usually setting one of those variables in e.g. bashrc will avoid future vim.

I’ll tell you what though: one you get used to it, you really get used to it.
I typed :q to try and close a tab the other day.
There are vim keybindings for Code. Discovered that yesterday.
Though, if you want vim bindings for Code, probably should just use vim…