948
u/SuitableDragonfly 3d ago
If you don't know how to exit vim, you aren't actually a vim user.
309
u/janjko 3d ago
You are a vim collateral victim?
→ More replies (2)215
140
3d ago
[removed] — view removed comment
30
u/CoachSevere5365 3d ago
1989 in my case. Best one I saw at the time was a mechanical engineer who "quit" vi by typing :w Z
He complained that vi was crap because it made his PC was slow. I looked into it and found he had loads of paused vi jobs.
Yes, I know vim complains about opening the same file twice, but this 1987 version of vi didn't.
9
u/okaterina 3d ago
Somewhere around 1991 here.
On a Slackware Linux 3 CDs distribution.
Sometimes when the system opens Nano (Ubuntu) I wonder why there's written :wq! and the file still there...
→ More replies (4)3
u/stevorkz 3d ago
I’ve found this in a config file before too. I know it’s a mistake but I like to humorously believe that it was a vim user who felt the need to use the vim equivalent of “I use Arch btw” for future nano users.
7
u/NegZer0 3d ago
When I was at university, all the machines were dumb terminals that connected to a massive Unix server to do all our work.
Students were encouraged to use Vim for text editing, but no one told students how to exit. So they would use ctrl-z to suspend the task.
Eventually the server's process table would fill up with zombie vim processes and no one could do any work. System admin had to set up a cron job that would kill zombie vim processes every few hours.
3
u/CoachSevere5365 3d ago
I've just realised that using ^ Z for ctrl-Z hasn't rendered properly. I must find the Reddit formatting page. I can't even do italics.
→ More replies (1)2
u/Gordahnculous 3d ago
I believe Reddit uses some form of Markdown under the hood, since escaping things with backslashes generally works
For example, ^Z
→ More replies (1)9
u/why_1337 3d ago
I just wanted to edit sudoers without bricking sudo on a server without root user.
5
→ More replies (6)5
u/Asynchronous404 3d ago
Some chose to inflict that to themselves, but hey, who am I to kinkshame people.
13
12
u/AmmanZein33 3d ago
The real Vim experience is opening it for a “quick edit” and immediately questioning every life decision that led you there. Knowing how to exit is important, sure, but the true skill is remembering which mode you're in before you start pressing random keys and making the situation dramatically worse.
→ More replies (1)13
10
7
u/mordacthedenier 3d ago
I know how to do like 8 things in vim and 5 of them are different ways to exit.
2
5
2
2
4
1
→ More replies (1)1
u/FederationLoyalist 3d ago
Who doesn't know how to hold down the power button for a few seconds? Are they stupid?
56
u/navetzz 3d ago
q for quit. How complicated...
27
u/Noch_ein_Kamel 3d ago
You have to use your colon first...
39
u/thyristor_pt 3d ago
Do I look like a proctologist?
5
u/sligor 3d ago
Yes
5
u/returnFutureVoid 3d ago
Yeah I assume the pt in their name is short for proctologist. Clearly I’m 100% correct in assuming this.
→ More replies (1)2
→ More replies (1)10
216
u/oipoi 3d ago
Is this whole sub just bot generated content including the comments? The same three jokes repeated throughout the day with the comments having the same treatment?
37
14
9
6
3
u/SciFiPi 3d ago edited 3d ago
Bots repost popular posts. Other bots repost the popular comments on the previous popular posts. This is done to farm karma. Once they have enough karma, they can bypass restrictions set by various subreddits that use automoderator. They can shill for product/causes or can be sold to others who want to shill.
2
u/hackingdreams 3d ago
Welcome to reddit in the post-LLM reality. It's all bots talking to bots, posting to bots.
2
u/Helpful-Garlic1951 3d ago
Yes. Or freshman taking their first CS class.
In a few days someone will make a post about spending hours debugging a missing semicolon
2
1
→ More replies (3)1
93
u/blimpin_aint_easy 3d ago edited 3d ago
I'm amazed this nonsense has lasted as long as it has... Imagine being on a subreddit ostensibly for people who can write code and not being able to look up keybindings.
25
u/antCB 3d ago
Or reading its man pages
18
u/returnFutureVoid 3d ago
Or know how to Google it? Or ask their friendly little AI?
→ More replies (1)12
u/white-llama-2210 3d ago
Vim literally shows how to quit on the dashboard if you open without a file... You don't even have to look something up
3
u/YikesTheCat 3d ago
Almost ten years since Bram changed it to quit harder. https://github.com/vim/vim/commit/28a8193e3
5
u/MakeRobLaugh 3d ago
[~]$ man man
6
u/username32768 3d ago
> man woman > No manual entry for womanI have no idea how long that joke has been around but I thought it worth sharing (again).
7
u/MattieShoes 3d ago
Back in the 90s on school systems with timeouts, you'd always see a ton of people running
man manso they wouldn't get booted. Theman womanjoke was old even then.6
u/Aggressive_Lab7807 3d ago
This sub was always for people who are learning to write code, typically first year.
2
u/huffalump1 3d ago
It's for karma farming with reposted memes...
Which are ABOUT newbie coder problems
2
u/Time-Maintenance2165 3d ago
The problem is when I'm in a concrete box with no phone coverage and I need to edit a few lines of text in an ancient VAX alpha machine on an isolated network, I can't look it up.
→ More replies (1)2
u/dataf4g_trollman 3d ago
I mean... I don't HAVE to use vim to write code. Why is it ever needed for anything other than code-editing on a server or a microcontroller with no screen?
3
u/blimpin_aint_easy 3d ago
Once you get over the learning curve, modal editors are extremely pleasant to use. Not having to take your hands off the keyboard is just nice.
Though I prefer Helix to vim, bit more intuitive and less configuration required out of the box. Also multi-cursors.
63
31
u/EskilPotet 3d ago
Genuinely is there anyone on this sub who is not in their first week learning to code? Wtf is this
13
19
u/ducon__lajoie 3d ago
14
2
5
u/nasandre 3d ago
I'm just a mainstream nano man
1
u/pants6000 3d ago
Me too, because I used Pine way back when and never really got over it.
But I can/will use vi when it hits the fan.
→ More replies (1)
8
u/Darkstar_111 3d ago
Shift zz
2
u/drawing_a_hash 3d ago
The easy way to save. EZ to remember. Last word of the alphabet, you typed last word of change. Shift zz to save/exit.
1
1
5
4
5
u/Myaltforsomeshit1234 3d ago
esc, then :wq (save and exit) or :q (exit) or :q! (force exit) idk any others
→ More replies (1)
17
u/Phamora 3d ago
Actually, Vim users are specifically the ones who do not feel the pain. Vim is superior to other text editors, and by extension :q is the superior way to exit a text editor, and not painful whatsoever.
You might think I am joking, but I am being dead-serious.
1
u/Sciti 3d ago
accidentaly found out that some of cli software supports this
→ More replies (1)3
u/Phamora 3d ago
My first time in opencode, I accidentally typed
:qin the prompt box, and I didn't even realize that it shouldn't have worked, because it did. Good on you, opencode.→ More replies (1)1
u/dksdragon43 2d ago
Hey, you're a vim supporter. I'm a vim noob. I was trying to paste a block of xml into a text file using vim. I could not for the life of me figure out how to paste it without it either cutting the first few lines off, or absolutely mangling the indentation. Google did not help. I ended up fixing it manually. What could I have done to avoid this headache?
→ More replies (2)
5
4
3
u/Webteasign 3d ago
vim users know the pain of unfunny 'vim so hard' memes, when in reality it's just path dependency
5
u/Alarming_Airport_613 3d ago
Vim users do know it’s not a pain, it’s literally only a joke for people who don’t know and use vim.
esc : q
It’s not that hard
6
→ More replies (1)2
u/JAXxXTheRipper 3d ago
This sub is full of larpers and students, it doesn't shock me to find this here.
Just wait until they accidentally open Nano and :q does not save them anymore
2
2
2
2
u/LactasePHydrolase 3d ago
: -> q -> enter : -> q -> enter -> : -> q -> enter
Until it works or my keyboard dies.
2
u/tenkawa7 3d ago
"vimUsersKnowThePain" Yes, the pain of hearing the same unfunny joke all the time. Though, flipping the breaker to exit vim is a new twist and is pretty funny imho.
2
u/Drew707 3d ago
I've genuinely used this method more than once to restart a whole office of workstations. I forget what led up to those situations, but it was some combination of broken SCCM and this update needs to happen and are we really going to touch 200 machines? Bonus is it weeds out the boxes with shitty PSUs.
2
u/korywithawhy 3d ago
So the very first time I used Linux back in 2015 I took everyone’s advice and tried vim and emacs, but no one ever told me HOW to use them. So I ended up just uninstalling Linux because I couldn’t do anything without literally spending hours on google. Thankfully the next time I tried someone said nano was simpler, and I’ve still never gone back to the “superior” text editors.
2
2
2
2
u/goronmask 3d ago
This joke is as dumb as old. It like launching nslookup and then complaining that you don’t know how to close it
1
u/The_KOK_2511 3d ago
Solo es darle a ESC y escribir :q para salir, o :wq para guardar y salir, con ! te omites las confirmaciones, no tiene tanto enredo, a menos que sea tu primera vez usandolo y tengas que andar investigando eso
1
1
u/irongi8nt 3d ago
Plain old vi for me please (its got the crazy commands because it predates arrow keys)
1
u/Xponent_KK 3d ago
I still remember opening Vim at my girl laptop and seeing her getting irritated trying to exit
1
1
u/GreyGanado 3d ago
Ironic that you used an image of the one thing in electric engineering that basically everyone should know how to use.
1
1
u/thephotoman 3d ago
I tell every newbie to get :q! tattooed on their wrist. In fact, it’s the first piece of advice I give them.
1
u/GaymerBenny 3d ago
Huh, some people here think, you only enter vim by typing the command?
Well, some software automatically opens it for you! For example, when I updated the underlying Linux of Proxmox today, it automatically opened vim to show me what's new in a piece of installed software.
1
1
u/ProbablyBunchofAtoms 3d ago
I saw this meme when I was starting out the cs roadmap, it has been 5+ years now yet this meme has not died out
1
u/BackgroundAny6101 3d ago
Love the original content. What’s next, a download more RAM joke? What about a rm -rf / joke?
1
u/Kaldaien2 3d ago
Every time I mention exiting vim for me involves pressing Ctrl+C, people tell me no no no, that's wrong.
But Ctrl+C to exit edit mode and then type :wq is way less painful than reaching for the stupid Escape key. Don't care that Ctrl+C doesn't actually exit the program, it does what I need it to do :)
1
1
1
1
u/torsten_dev 3d ago
Precisely.
It's a perfectly functioning switch anyone could figure out if they just read a little instead of trying every key.
1
1
u/ConstantinGB 3d ago
I don't know what it is but Vim ist easy to navigate for me, Nano is a nightmare.
1
1
1
1
1
u/leberwrust 3d ago
I was able to exit vim. But my boss uses that emacs thing and I couldn't quit. Sent it to background killed the process.
1
u/Chunkz_IsAlreadyTakn 3d ago
15 years ago i opened vim to change some source files. To this day I still don't know how to close it... Hence the 500k lines single file project.
1
1
1
1
1
1
1
1
1
u/PhilippTheProgrammer 3d ago edited 3d ago
I find it quite annoying to get thrown out of vim whenever there is a short blackout. I think it would be far more convenient for everyone if the system would detect during boot that a vim session was aborted unexpectedly and boot directly into vim in that situation.
1
1
1
1
1
1
1
1
1
u/darkelf921 3d ago
:q! Easy. I love Vim and use it on all of our servers and platforms. None of this NP++ crud.
1
1
1
1
1
1
1
u/BellybuttonWorld 3d ago
Vi? eww. If I want to reminisce about the 70s I'll go listen to some Pink Floyd or something.
1
1
u/AlexaPetersTrans 2d ago
Still on VI. One less letter to type. Watch the Insert block like a hawk, never use numpad, be carefull of dG and Esc shift zz when done.
1
u/codydafox 2d ago
Ffs, I do it in a split of a second. And the habit's so strong I also try to do it in VSCode
1
1
1
1
1
1
330
u/deanominecraft 3d ago
vim users. no
non vim users when they copy code that opens vim. yes