• Does that count as you opening vim? Technically, it’s git opening vi because you haven’t configured a standard text editor to use (done by setting the EDITOR environment variable¹). Yes, it’s unfortunate, but I feel you should blame whoever built your git to use vi as the editor of last resort.

      ¹ Git checks the following places for an editor: GIT_EDITOR (environment variable), core.editor (configuration setting), VISUAL (environment variable), EDITOR (environment variable), and then a compiled-in default if none of the above are set.

    • Simon 𐕣he 🪨 Johnson@lemmy.ml
      link
      fedilink
      arrow-up
      2
      arrow-down
      4
      ·
      edit-2
      14 days ago

      The image shows the last state of a terminal emulator of person without command line or git knowledge. The person attempted to run git commit and is now blaming the result of a specific configuration on their system that launches a vi derivative on the vi derivative itself. This image is expected to convince the viewer that the vi derrivative is to blame.