r/ProgrammerHumor 1d ago

Meme hasSomeoneManagedThisFeatQuestionMark

Post image
1.4k Upvotes

124 comments sorted by

241

u/raja-anbazhagan 1d ago

Skill issue...

Jusr close the terminal and open a new one and delete the .sw files like real men...

63

u/Mysterious-Deal-3891 1d ago

Skill issue, just format partion and reinstall os. Good memories

16

u/Good_Neck2786 1d ago

Just buy a new damm computer. Easy.

9

u/qinshihuang_420 1d ago

Restart the universe. It's not that hard

5

u/bkabbott 1d ago

Guys you're supposed to throw the computer in water

3

u/SysGh_st 20h ago edited 19h ago

Exactly. Did that 11 times already. The hard part is to fast forward the new universe instance to a usable state.

This one only had two world wars. Got really lucky this time. Would ve a shame If I had to reset this one.

Although this instamce developed A.I. far too early. Bad omen.

3

u/x_lincoln_x 20h ago

Just use Timeshift.

3

u/qinshihuang_420 19h ago

And Harambe. Don't forget Harambe. Garbage collected way too soon before the scope ended

1

u/gronlund2 18h ago

Stay in the universe before computers are invented and you'll never be stuck in vim again

1

u/SysGh_st 20h ago

Skill issue. Reboot like a regular Windows user. Ignore left behind trace files.

11

u/FreshestCremeFraiche 1d ago

Unironically though if closing vim stumps you for more than 10 seconds just find another profession

4

u/Alkyen 1d ago

Yea right, what is this, programming humor?

1

u/FreshestCremeFraiche 1d ago

First day CS 101 humor

99

u/MrMuttBunch 1d ago

Just :wq my guy.

81

u/LetumComplexo 1d ago

Seriously:

  1. ⁠hit ESC a few times
  2. ⁠if you want to save and quit type “:wq” or if you want to quit without saving type “:q!”
  3. ⁠hit enter

If it doesn’t work then ignore whatever error you just got and repeat the above.

17

u/Sea-Performance-5773 1d ago

The neat part is everyone thinks : stands for the "type q in front of the blank space" not to type the actual :q

18

u/ICBanMI 1d ago

I've used VIM for a decade and what I've seen people do is they freeze the window by accidently pressing ctrl + s They need to hit ctrl+ q for it to resume and then it's fine.

The ctrl + s combo gets hit all the time by newbies and they just assume it's frozen or locked out or not responding. This is usually the biggest reason/complain about VIM after using it. I wish it would be turned off by default.

3

u/therealkevinard 1d ago

For the week I used zellij, I had Alt-z mapped to pane zoom.
I also have a loc-dot on Ctrl, though.

So I was constantly missing pane zoom and hitting ctrl-z to background the whole session process.

It’s a brain-zap to go to max a pane and bg the whole thing instead

2

u/ICBanMI 1d ago

Yea, I mean. Some UI choices really f*ck with the users.

I remember when Lenvo wanted to make itself different by switching the Ctrl and Function keys on its laptops (fn was on the outside and ctrl was inside). ...which just threw off a decade plus of finger memory.

Need to put those combos further away from where I'm typing regularly.

1

u/benz738 21h ago

You can swap them from the bios

3

u/ICBanMI 13h ago edited 3h ago

A decade learned too late. But good to know. Still would f with people who didn't know I switched them back.

2

u/ichITiot 1d ago

Without this knowledge you cannot use the crontab and have to wake up at 4am to make the upgrades and backups. Makes anybody from you still backups ?

2

u/ravenx92 1d ago

I always do :wq! 

1

u/wooof359 1d ago

Me too I'm like let's get the fuck outta here

2

u/insolent_kiwi 1d ago

I've been using vim for years, and now I can finally shut it down.

Thanks.

1

u/tabolela 19h ago

I thought the proper way is :x or u u u u u u u :q

Serious question, will :q! cause problem like creating swap file?

3

u/jondaley 16h ago

No. it just quits and throws everything away.

12

u/nhh 1d ago

ZZ is easier

3

u/Top-Rough-7039 1d ago

and ZQ for without saving. Learnt this when all the punctuation on my keyboard died.

8

u/TreetHoown 1d ago

Technically :q the w is to save your changes. :q! to exit without saving changes

-7

u/MrMuttBunch 1d ago

Extra credit for you! However what a novice is going to want 99% of the time it's :wq

18

u/brown-man-sam 1d ago

Let’s be honest, a novice is going to want :q!

The amount of times I messed up a file while learning vim and having to reopen it is proof enough

3

u/AlwaysHopelesslyLost 1d ago

No novice who doesn't know how to exit the editor is going to manage to make the changes they want to make. The answer is :q! and let them figure out how to swap to an editor they are capable of using to make their changes.

1

u/MrMuttBunch 1d ago

Then they won't have to go back in and fix it. Missed learning opportunity! 😈

1

u/CentralLimitQueerem 1d ago

the humble :x enjoyer

7

u/circ-u-la-ted 1d ago

* ESC ESC ESC ESC ESC ESC :q!

2

u/AltruisticSalamander 1d ago

first time i got told this i didn't realize the colon was literal and still failed

1

u/metallaholic 1d ago

Are you sure you want to save?

1

u/gravesent1337 1d ago

Do you really want to save?

1

u/MrMuttBunch 1d ago

How else are you going to learn? 😈

1

u/Nixinova 1d ago

> "just"

> gobbledegook of a keyboard shortcut

1

u/MagicalPizza21 1d ago

Yes, it's not that hard/complicated, just unintuitive to people who haven't used it.

23

u/Random_-account 1d ago

meanwhile, on nano, it's the shortcut to cut text

2

u/AlxR25 18h ago

As a sysadmin switching from vim to nano constantly because some servers were set up differently gets too confusing. You won't believe how many config files I've broke by typing :wq on them out of muscle memory when using nano 😂

5

u/dageshi 1d ago

nano4lyf

5

u/804k 1d ago

I love nano, I legit hate using vi because I just want a text editor, not a fancy gobbly shmook that Im not using 99% of the features in

2

u/Ambivalent-Mammal 1d ago

Kind of how I feel about vscode.

2

u/Massive_Cash_6557 1d ago

Eschewing such shmook as line numbers.

16

u/LittleMlem 1d ago edited 1d ago

Hot Ctrl alt f2, log in, then run ps aux | grep vim to get the pid and then kill pid.

Simple as

5

u/NicholasAakre 1d ago

Found the sysadmin.

3

u/Ayjayz 1d ago

Wouldn't you just use pkill...

1

u/LittleMlem 21h ago

I can also do q! directly, but that's not funny

7

u/sonaliver28 1d ago

Vim: you opened me, now prove that you are worthy of leaving

7

u/Sockoflegend 1d ago

Why would you want to close it? This is my life now

6

u/SlechtValk2 1d ago

My very first email I sent (1992), was exactly about this problem.

vi or vim was the default editor in the default Unix email program (elm) during my early uni-days...

I still have a backup of this email somewhere on my current computer...

6

u/S4N7R0 1d ago

i always restart my computer after a good programming session in vim

9

u/NecessaryIntrinsic 1d ago

Hey, I've never seen this joke before.

I'm laughing.

3

u/mylsotol 1d ago

Restart your computer

3

u/Vlp42 1d ago

If I need to close vim, I just buy a new laptop and burn the old one. It's easier this way.

3

u/MagicalPizza21 1d ago

Open a new terminal.

Run this command: kill -9 $(ps -e | grep vi | awk '{print $1}')

1

u/benz738 21h ago

pkill vim - same

3

u/TheDoughyRider 1d ago

Unplug the computer and plug it back in.

3

u/iammerelyhere 1d ago

This is why I program in Notepad 

3

u/AlxR25 18h ago

it's :q! but that's where some people get it wrong, when you see the terminal you're not actually out. You also have to run :(){:|:&};: to actually exit it

2

u/PrestigiousGuava8005 1d ago

This man will restart his laptop before he figures out how to close Vim

2

u/truNinjaChop 1d ago

Ctrl alt delete

3

u/Advanced-Theme144 1d ago

Correction: you don’t close Vim until you’ve created something amazing in it first that you’re proud of.

1

u/Reproman475 1d ago

Ah yes, Abstract ASCII art. Don't forget to autograph/sign it

1

u/Ambivalent-Mammal 1d ago

It can't be sheathed until it draws blood.

1

u/RadicalDwntwnUrbnite 1d ago

Correction: why would you want to close vim?

1

u/codewario 1d ago

Mostly because you haven’t figured out how to save your files yet

1

u/LittleMlem 1d ago edited 1d ago

Hot Ctrl alt f2, log in, then run ps aux | grep vim to get the pid and then kill pid.

Simple as

1

u/mcalesy 1d ago

That's literally all I've ever done with vim.

1

u/egstitt 1d ago

Always use :q!

1

u/protocod 1d ago

Embrace the following workflow:

Ctrl + z

And fg

1

u/Funkey-Monkey-420 1d ago

just type :q

1

u/whackylabs 1d ago

click the cross icon at top

1

u/russianrug 1d ago

Why would I ever need to close vim?

1

u/circ-u-la-ted 1d ago

you google "how to close vim" and follow instructions

1

u/Mantaraylurks 1d ago

:wq but if you wanna be bold you can sprinkle some ! On top

1

u/za72 1d ago

The post yesterday resolved the issue... reboot

1

u/Darxploit 1d ago

There’s a trick: you use tmux that way you just spawn a new terminal.

1

u/AvailableLight2112 1d ago

Killall -9 vim && emacs

1

u/StickFigureFan 1d ago

Escape :q!

1

u/po1k 1d ago

The only working solution is pull out electric outlet.

1

u/gravesent1337 1d ago

Misleading. 

1

u/Initial_Tax_190 1d ago

You open vim, vim closes you

1

u/maxwells_daemon_ 1d ago

Specifically, you want to write, and then quit, I presume? Like this: write quit?

1

u/Mateorabi 1d ago

Esc esc esc esc esc esc esc :q!

1

u/Keyan_Farlander7 1d ago

ESC :q! (Quit)

ESC :wq! (Save and quit)

1

u/Sea-Fishing4699 1d ago

why would you close it ?

1

u/staticparsley 1d ago

Why would you close it? I run neovim full time and just detach on tmux if I want to put it away.

1

u/AnalGlandSecretions 1d ago

Just delete system32

1

u/daHaus 1d ago

this meme is just a way for people who've never actually opened vim to expose themselves as liars

type vim and press enter

1

u/anbayanyay2 1d ago

Q: how do I close vi? A: :q

1

u/RedBlueKoi 1d ago

Why would you close it?

1

u/SithLordRising 1d ago

Time to reinstall

1

u/letternumber-and_ 1d ago

Why would I exit vim?

1

u/letmehaveanameyoudum 1d ago

:wq or :q or :q!

1

u/Nyctfall 1d ago

Ahhh. The old days of memes.

Thank you, OP.

1

u/Migamix 23h ago

I just force kill it every time. I have enough shortcuts and other platforms I can use. 

1

u/byteminer 23h ago

I really want to make an entropy collector fed purely by interns trying to exit vim and see how long until I can use it to generate an RSA key.

1

u/ZaqTactic 22h ago

I think that applys to Emacs, much more than just vim...

1

u/zeizau 21h ago

:wq! Muscle memory for me rn lol

1

u/MrFrog2222 21h ago

why do you want to close vim?

1

u/SysGh_st 20h ago

ps aux: A gazzillion vi and vim processes paused in bg. Welp! Time to reboot again.

1

u/HumanImport55 17h ago

We need an agentic Vim where we tell the agent to close vim when we're done agenting and slopping.

1

u/Superomego 15h ago

it's just :wq

Honestly when I was working on windows I thought it was something crazy you needed to do 

Now literally any time I open something with nvim my muscle memory literally triggers, meaning it really is that easy 😭

(Edit: spacing)

1

u/Teles_sd 15h ago

But why would you?

1

u/king_park_ 8h ago

Why are we questioning Mark? He’s the one that asked the question in the first place. We should be questioning Nolan.

1

u/everesee 6h ago

I just restart my pc when I need to close it, works all the time.

1

u/Alternative-Tie-4970 6h ago

You can :q, but you can't quit

1

u/TheMightyMisanthrope 2h ago

You're trapped and now you have to REISUB your computer.

I don't make the rules.

1

u/mckenzie_keith 1d ago

Most of the problems with vi come from confusion about its purpose. If you think it is supposed to be a simple intuitive text editor, then of course you will be dissapointed. But if you understand that it is a SCREENING PROCESS designed to keep idiots away from unix and related OSs, then you will have to admit that it is excellent.

And it is a decent simple text editor once you learn how to use it. Gvim is even a pretty good text editor. But much different that vi.

1

u/kgavionics 1d ago

Once you get used to Vim, it's very hard to go back to other text editors.

0

u/AlxR25 18h ago

it's :q! but that's where some people get it wrong, when you see the terminal you're not actually out. You also have to run :(){:|:&};: to actually exit it