this post was submitted on 03 Mar 2024
1097 points (97.8% liked)

Programmer Humor

19817 readers
89 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 31 points 9 months ago (3 children)

If you happen to forget the -m though, you may also need to have mastered exiting vim

[–] [email protected] 7 points 9 months ago (2 children)

Me as an Emacs user, who omits -m on purpose to practice quitting vi in case I really need it

[–] [email protected] 6 points 9 months ago (1 children)

you're an emacs user who has vi set up as the default editor on your system?

(You can change it altering the $EDITOR env var)

[–] [email protected] 3 points 9 months ago

I only use $EDITOR to launch vi from git. Emacs runs as a single process and is always open.

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago)

Shift-Z Shift-Z to quit vi. Let's keep it simple, people!

[–] [email protected] 4 points 9 months ago

The day I configured git to use Geany for commit messages with a separate config specifically tuned for this, it improved my life by 300%

~$ cat ~/bin/gitedit
#!/bin/sh
exec /usr/bin/geany -i -s -t -c ~/.config/gitgeany $@

Then in git config: git config --global core.editor "gitedit"