My wife was unimpressed by Vim

https://programming.dev/post/12501217

My wife was unimpressed by Vim - programming.dev

As someone who's been a software developer for over a decade and in IT even longer, I still don't use vi/vim for anything other than when crontabs have it set as the editor.
alias vi=nano

export EDITOR=nano.

But (neo)vim is amazing so there is no need to do that.

Based nano user

From my .zshrc (typing this on mobile so cope if it’s wrong)

case “$OSTYPE” in linux*) export EDITOR=nano ;; freebsd*) export EDITOR=ee ;;

I guess shell languages can’t do this:

export EDITOR=case "$OSTYPE" in linux*) nano ;; freebsd*) ee ;;
That would be too smart
Put backticks around the entire case statement, and you can.