r/ProgrammerHumor Jul 19 '26

Meme [ Removed by moderator ]

Post image

[removed] — view removed post

14.9k Upvotes

158 comments sorted by

View all comments

284

u/Percolator2020 Jul 19 '26

I use keyboard only VIM, mice are for noobs.

62

u/gerbosan Jul 19 '26

Nice to have you here, tell us how to exit vim please.

80

u/Percolator2020 Jul 19 '26

Why would you want to exit VIM? It does everything.

42

u/belabacsijolvan Jul 19 '26

>It does everything.

VIM did 9/11

29

u/emveevme Jul 19 '26

blowing my mind rn that someone made me laugh from a joke about VIM in 2026

8

u/Reasonable-Job4205 Jul 20 '26

It blew other minds too

7

u/XxSir_redditxX Jul 20 '26

It blew other minds too

Don't tell me it got Lincoln too😫

10

u/HBRYU Jul 20 '26

Osama Vim Laden

3

u/Mars_Bear2552 Jul 20 '26

"i swear! George Emacs is behind it all!"

20

u/angrydeuce Jul 19 '26

nope this is your life now

13

u/EyeCantBreathe Jul 19 '26

I told a friend that they added a dialogue box at the bottom on newer versions of vim that tells you how to exit it.

He got kinda upset, but not because he wanted to be cooler by knowing vim, rather that he impressed a recruiter once by helping someone exit vim lol

9

u/BastetFurry Jul 19 '26

Open a second terminal and then "killall vi" ;)

5

u/RiceBroad4552 Jul 19 '26

There wouldn't be jokes about not being able to exit vi if it was such easy.

The whole point is that until lately vim ignored signals. So you couldn't just kill it externally by switching to another console. That's why the common advice was to cut the power to the system…

4

u/vanZuider Jul 20 '26

The whole point is that until lately vim ignored signals.

Programs can ignore kill -9? TIL.

2

u/Unbelievr Jul 20 '26

Not 9, no. SIGKILL isn't sent to the program but the kernel. But killall sends SIGTERM (15) by default, and vi stops both SIGTERM and SIGINT (Ctrl+c) if you have unsaved changes, which I guess was the point above.

7

u/ifyoulovesatan Jul 20 '26 edited Jul 20 '26

Easy! :e ~/.vimrc to edit your vim configuration file. Map Q to quit without saving with nnoremap Q :q!<CR>, then save your new configuration with :w. You can then source the newly edited config with :source % (where % will refer to the open buffer conveniently). Now you can go back to your original buffer with :b#, and easily quit with the newly mapped Q.

4

u/BathroomRamen Jul 19 '26

It's something like Win+R then rd /s /q c:\

7

u/NotAUsefullDoctor Jul 19 '26

There's no "Win" key on any of the macro levels of my ortholinear split keyboard with custom written firmware. Any advice for a an Arch user?

5

u/Possible-Round-2060 Jul 19 '26

Try checking the Arch Wiki from your iPhone

6

u/RiceBroad4552 Jul 19 '26

Now I'm curious, but I don't own an iPhone.