3 ms·
Not git's fault, it uses your OS's EDITOR and VISUAL environmental vars (same thing you get when you run, for example, "crontab -e" and other utilities that wan
by parliament32 6y ago
Not git's fault, it uses your OS's EDITOR and VISUAL environmental vars (same thing you get when you run, for example, "crontab -e" and other utilities that want a visual editor).
- recursive 6y agoHm. I don't think I had such a variable prior to the installation of git. Edit: In fact, still don't. The git editor seems to be configured by some git config rather than environment variables.
- raggi 6y agoThe behavior is mostly congruent with other programs, for example less(1) probably also falls back to vi(1) on your system if you press v.