1096
you are viewing a single comment's thread
view the rest of the comments
[-] chicken@lemmy.dbzer0.com 31 points 3 months ago

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

[-] jxk@sh.itjust.works 7 points 3 months ago

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

[-] PotatoesFall@discuss.tchncs.de 6 points 3 months ago

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)

[-] jxk@sh.itjust.works 3 points 3 months ago

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

[-] Wiz@midwest.social 1 points 3 months ago* (last edited 3 months ago)

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

[-] JATtho@sopuli.xyz 4 points 3 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"

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

Programmer Humor

18203 readers
1491 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 1 year ago
MODERATORS