Well. Color me entirely entertained by the diversion into the topic of "default editor," yet color me also slightly confused. I can't recall ever being automatically placed into any editor, and normally edit configuration files using this syntax: [editor-name-of-my-choice] [config-file-name-of-my-choice].
I suppose my bewilderment might come about, at least partly, because I normally use packages instead of ports, and, when I do use ports, I normally compile them with make install clean, which, if I remember right, never places me automatically into any editor. (It's always possible my memory is faulty since I wouldn't really care if it did.)
Also IIRR, when I initially started using AIX about thirty years ago, I had to use either vi or ed-- no other editor program was available on the system-- so I chose vi. Actually it was more or less mandatory for the programming staff to learn vi anyway, but I suppose that too is beside the point. Nowadays I use vi because ( a.) I've already learned it, and ( b.) once having learned it, I've always preferred it, but, assuming that I hadn't already learned it, I might prefer to use ee (AKA edit).
However, I mean to say, if I didn't want to use vi, and, if something was automatically causing the system to force vi on me, on first boot after the install, I would just execute the command: edit [config-file-that-makes-me-use-vi] and change my editor preference, to the editor of my choice, with the editor of my choice.