this post was submitted on 04 Jul 2023
47 points (98.0% liked)

Programmer Humor

19551 readers
948 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
 

IMHO, it's a horrible hack that is just broken. It's obscure and we need to rewrite it because it has a bad structure. ^X^Cquit^[ESC][ESC]^C

you are viewing a single comment's thread
view the rest of the comments
[–] magmaus3@szmer.info 1 points 1 year ago (2 children)

ESC + :q!

ESC to enter normal mode (if you're in a different mode like insert) : (colon) to enter commands q to quit ! (or a) to use the quit command withiut keeping any changes

[–] sci@feddit.nl 2 points 1 year ago

He's speaking the language of the gods..

[–] Lifter@discuss.tchncs.de 1 points 1 year ago

ESC + (shift) ZZ is faster and also saves your changes!