The best way I know to quit vi is by turning off your computer
Programmer Humor
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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
Why would you quit vim?
To open nano of course
*emacs
Because you meant to open ed: the standard text editor.
I wanted to open neovim of course. And my alias did not work
Because you've finished configuring the evil package, obviously.
you can also accomplish that by turning off city's electrical grid
Takes too long for the UPS to run down...
i see you're operating at datacenter scale
This is the way.
I'm one of those people who think that Perl is a write-only language
-Linus torvalds
"I can read this Perl scrip"t should translate to "I'm lying".
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
He's speaking the language of the gods..
ESC + (shift) ZZ is faster and also saves your changes!
good to know :3
I'm basically a god at work cause I knew this already, but never explained the pain I went through to get here.
The first phrase spoken when opening a new project, be it yours or someone elses... "What the fuck..."
What fucking idiot wrote this? Looking at your own code from 6 months ago
I can't read this perl script may also apply to something you wrote last week.
I'm absolutely guilty of self-documenting code, but mostly because I'm sick of everyone else's lying comments.
"The reason I use Perl is because I wanna write scripts that no one can read and no one can understand so that I can keep my job"
IMHO it's a complex, temporary work around with a few issues.
Also vim > emacs
i use nano and i will die on this hill
Nano is the only one I know how to use lol (assuming we're talking about in-terminal text editors)
And i have used it exclusively for editing Minecraft and KSP server config files
Im definitely a programmer :P
Hey, now. It is possible to write readable Perl code—it's just less interesting that way. 😜
LGTM
Self documenting: my code doesn't NEED comments
Sometimes I like to pack the most functionality into a single, hard to read one-liner, just for fun. In review I’ll admit “it’s a little bit abstruse”.
The Perl one has got me:)
Of course, the correct way to quit Vi is ^Zpkill vi
.
Lol I've done this before!
Emacs babyyyy
Good reference with lots of truth. Maybe, I should print it before having a meeting with other tech teams.
I've been seeing a lot of Perl jokes lately and as far as legacy code I haven't had to edit anything written in that in 25 or so years. For those that haven't used it, getting form variables and rudimentary things like that were like equivalent to regular expressions, everything had some obscure expression you had to look up or copy paste.