this post was submitted on 09 Jun 2025
112 points (95.9% liked)

Programmer Humor

37126 readers
179 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 16 points 1 month ago* (last edited 1 month ago) (9 children)

POV: You open vim for the first time.

Screenshot of vim start screen. The instruction to exit vim is highlighted in red. It reads: VIM - Vi IMproved version 9.1.697 by Bram Moolenaar et al. Modified by team+vim@tracker.debian.org Vim is open source and freely distributable Help poor children in Uganda! type :help iccf for information type :q to exit type :help or  for on-line help type :help version9 for version info

[–] masterspace 21 points 1 month ago (2 children)
[–] [email protected] 1 points 1 month ago

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.

load more comments (1 replies)
load more comments (7 replies)