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

Programmer Humor

19149 readers
803 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
977
What we really mean (programming.dev)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

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
[–] [email protected] 26 points 1 year 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

[–] [email protected] 18 points 1 year ago

He's speaking the language of the gods..

[–] [email protected] 4 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago

good to know :3

[–] [email protected] 1 points 1 year ago

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