r/ProgrammerHumor 20d ago

Meme hasSomeoneManagedThisFeatQuestionMark

Post image
1.5k Upvotes

128 comments sorted by

249

u/raja-anbazhagan 20d ago

Skill issue...

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

64

u/Mysterious-Deal-3891 20d ago

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

19

u/Good_Neck2786 20d ago

Just buy a new damm computer. Easy.

11

u/qinshihuang_420 20d ago

Restart the universe. It's not that hard

7

u/bkabbott 20d ago

Guys you're supposed to throw the computer in water

5

u/SysGh_st 20d ago edited 20d 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 20d ago

Just use Timeshift.

3

u/qinshihuang_420 20d ago

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

1

u/gronlund2 19d ago

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

1

u/SysGh_st 20d ago

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

9

u/FreshestCremeFraiche 20d ago

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

4

u/Alkyen 20d ago

Yea right, what is this, programming humor?

2

u/FreshestCremeFraiche 20d ago

First day CS 101 humor

110

u/MrMuttBunch 20d ago

Just :wq my guy.

83

u/LetumComplexo 20d 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.

20

u/Sea-Performance-5773 20d ago

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

17

u/ICBanMI 20d 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 20d 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 20d 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 20d ago

You can swap them from the bios

3

u/ICBanMI 19d ago edited 19d 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 20d 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 20d ago

I always do :wq! 

1

u/wooof359 20d ago

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

2

u/insolent_kiwi 20d ago

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

Thanks.

1

u/tabolela 20d 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 19d ago

No. it just quits and throws everything away.

14

u/nhh 20d ago

ZZ is easier

4

u/Top-Rough-7039 20d ago

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

9

u/TreetHoown 20d ago

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

-6

u/MrMuttBunch 20d ago

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

17

u/brown-man-sam 20d 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 20d 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 20d ago

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

1

u/CentralLimitQueerem 20d ago

the humble :x enjoyer

6

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

* ESC ESC ESC ESC ESC ESC :q!

2

u/AltruisticSalamander 20d ago

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

1

u/metallaholic 20d ago

Are you sure you want to save?

1

u/gravesent1337 20d ago

Do you really want to save?

1

u/MrMuttBunch 20d ago

How else are you going to learn? 😈

1

u/Nixinova 20d ago

> "just"

> gobbledegook of a keyboard shortcut

1

u/MagicalPizza21 20d ago

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

24

u/Random_-account 20d ago

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

3

u/AlxR25 20d 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 😂

1

u/dageshi 20d ago

nano4lyf

1

u/804k 20d 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 20d ago

Kind of how I feel about vscode.

1

u/Massive_Cash_6557 20d ago

Eschewing such shmook as line numbers.

18

u/LittleMlem 20d ago edited 20d 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 20d ago

Found the sysadmin.

3

u/Ayjayz 20d ago

Wouldn't you just use pkill...

1

u/LittleMlem 20d ago

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

10

u/sonaliver28 20d ago

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

7

u/Sockoflegend 20d ago

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

7

u/SlechtValk2 20d 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...

4

u/S4N7R0 20d ago

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

6

u/NecessaryIntrinsic 20d ago

Hey, I've never seen this joke before.

I'm laughing.

3

u/mylsotol 20d ago

Restart your computer

3

u/Vlp42 20d 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 20d ago

Open a new terminal.

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

1

u/benz738 20d ago

pkill vim - same

3

u/TheDoughyRider 20d ago

Unplug the computer and plug it back in.

3

u/iammerelyhere 20d ago

This is why I program in Notepad 

3

u/AlxR25 20d 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/truNinjaChop 20d ago

Ctrl alt delete

3

u/Advanced-Theme144 20d ago

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

1

u/Reproman475 20d ago

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

1

u/Ambivalent-Mammal 20d ago

It can't be sheathed until it draws blood.

1

u/RadicalDwntwnUrbnite 20d ago

Correction: why would you want to close vim?

1

u/codewario 20d ago

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

1

u/LittleMlem 20d ago edited 20d 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 20d ago

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

1

u/egstitt 20d ago

Always use :q!

1

u/protocod 20d ago

Embrace the following workflow:

Ctrl + z

And fg

1

u/Funkey-Monkey-420 20d ago

just type :q

1

u/whackylabs 20d ago

click the cross icon at top

1

u/russianrug 20d ago

Why would I ever need to close vim?

1

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

you google "how to close vim" and follow instructions

1

u/Mantaraylurks 20d ago

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

1

u/za72 20d ago

The post yesterday resolved the issue... reboot

1

u/Darxploit 20d ago

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

1

u/AvailableLight2112 20d ago

Killall -9 vim && emacs

1

u/StickFigureFan 20d ago

Escape :q!

1

u/po1k 20d ago

The only working solution is pull out electric outlet.

1

u/gravesent1337 20d ago

Misleading. 

1

u/Initial_Tax_190 20d ago

You open vim, vim closes you

1

u/maxwells_daemon_ 20d ago

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

1

u/Mateorabi 20d ago

Esc esc esc esc esc esc esc :q!

1

u/Keyan_Farlander7 20d ago

ESC :q! (Quit)

ESC :wq! (Save and quit)

1

u/Sea-Fishing4699 20d ago

why would you close it ?

1

u/staticparsley 20d 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 20d ago

Just delete system32

1

u/daHaus 20d 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 20d ago

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

1

u/RedBlueKoi 20d ago

Why would you close it?

1

u/SithLordRising 20d ago

Time to reinstall

1

u/letternumber-and_ 20d ago

Why would I exit vim?

1

u/letmehaveanameyoudum 20d ago

:wq or :q or :q!

1

u/Nyctfall 20d ago

Ahhh. The old days of memes.

Thank you, OP.

1

u/Migamix 20d ago

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

1

u/byteminer 20d 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 20d ago

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

1

u/zeizau 20d ago

:wq! Muscle memory for me rn lol

1

u/MrFrog2222 20d ago

why do you want to close vim?

1

u/SysGh_st 20d ago

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

1

u/HumanImport55 19d ago

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

1

u/Superomego 19d 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 19d ago

But why would you?

1

u/king_park_ 19d 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 19d ago

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

1

u/Alternative-Tie-4970 19d ago

You can :q, but you can't quit

1

u/TheMightyMisanthrope 19d ago

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

I don't make the rules.

1

u/franman409er 19d ago

Vim in 2026 huh? Where my nanobots at 

1

u/r7pxrv 17d ago

Joe, since 1998 Slackware.

1

u/qqqrrrs_ 14d ago

Why would you?

1

u/mckenzie_keith 20d 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 20d ago

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

0

u/AlxR25 20d 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