this post was submitted on 04 Jul 2023
758 points (98.5% liked)

Programmer Humor

19935 readers
1030 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
 

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 19 points 2 years ago (3 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 18 points 2 years ago

He's speaking the language of the gods..

[–] Lifter@discuss.tchncs.de 4 points 2 years ago (1 children)

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

[–] magmaus3@szmer.info 1 points 2 years ago

good to know :3

[–] ToastyWaffles@lemmygrad.ml 1 points 2 years ago

I'm basically a god at work cause I knew this already, but never explained the pain I went through to get here.