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
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
36 Comments
stebo02@lemmy.dbzer0.com · 46 pts · 3y
Olap@lemmy.world · 33 pts · 3y
Why would you quit vim?
VoidHeathen@mujico.org · 10 pts · 3y
To open nano of course
smitten@lemmy.blahaj.zone · 1 pts · 3y
*emacs
Kftrendy@sh.itjust.works · 9 pts · 3y
Because you meant to open ed: the standard text editor.
dinodroid@programming.dev · 3 pts · 3y
I wanted to open neovim of course. And my alias did not work
chaorace@lemmy.sdf.org · 2 pts · 3y
Because you've finished configuring the evil package, obviously.
master@lem.serkozh.me · 11 pts · 3y
you can also accomplish that by turning off city's electrical grid
emag@infosec.pub · 6 pts · 3y
Takes too long for the UPS to run down...
b3nsn0w@pricefield.org · 2 pts · 3y
i see you're operating at datacenter scale
dave@feddit.uk · 5 pts · 3y
This is the way.
Kerb@discuss.tchncs.de · 34 pts · 3y
jim@programming.dev · 32 pts · 3y
"I can read this Perl scrip"t should translate to "I'm lying".
magmaus3@szmer.info · 26 pts · 3y
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 pts · 3y
He's speaking the language of the gods..
Lifter@discuss.tchncs.de · 4 pts · 3y
ESC + (shift) ZZ is faster and also saves your changes!
magmaus3@szmer.info · 1 pts · 3y
good to know :3
ToastyWaffles@lemmygrad.ml · 1 pts · 3y
I'm basically a god at work cause I knew this already, but never explained the pain I went through to get here.
ObsidianBlk@lemmy.world · 19 pts · 3y
The first phrase spoken when opening a new project, be it yours or someone elses... "What the fuck..."
Bazoogle@lemmy.world · 7 pts · 3y
What fucking idiot wrote this? Looking at your own code from 6 months ago
CookieOfFortune@lemmy.world · 17 pts · 3y
I can't read this perl script may also apply to something you wrote last week.
a253040@midwest.social · 13 pts · 3y
I'm absolutely guilty of self-documenting code, but mostly because I'm sick of everyone else's lying comments.
Gentoo1337@sh.itjust.works · 12 pts · 3y
"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"
KnorrFG@programming.dev · 10 pts · 3y
IMHO it's a complex, temporary work around with a few issues.
Also vim > emacs
b3nsn0w@pricefield.org · 7 pts · 3y
i use nano and i will die on this hill
astropenguin5@lemmy.world · 2 pts · 3y
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
nyan@lemmy.cafe · 9 pts · 3y
Hey, now. It is possible to write readable Perl code—it's just less interesting that way. 😜
VoidHeathen@mujico.org · 8 pts · 3y
Self documenting: my code doesn't NEED comments
ransom@lemmy.dbzer0.com · 7 pts · 3y
LGTM
lig@social.fossware.space · 5 pts · 3y
The Perl one has got me:)
Atiran@lemm.ee · 4 pts · 3y
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”.
alr@programming.dev · 3 pts · 3y
Of course, the correct way to quit Vi is
^Zpkill vi.dinodroid@programming.dev · 2 pts · 3y
Good reference with lots of truth. Maybe, I should print it before having a meeting with other tech teams.
Raiden11X@programming.dev · 2 pts · 3y
Emacs babyyyy
fizgigtiznalkie@lemmynsfw.com · 1 pts · 3y
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.
blank_dvth@programming.dev · -1 pts · 3y
blank_dvth@programming.dev · -1 pts · 3y
blank_dvth@programming.dev · -1 pts · 3y
blank_dvth@programming.dev · -1 pts · 3y
blank_dvth@programming.dev · -1 pts · 3y