this post was submitted on 25 Oct 2023
2270 points (99.2% liked)

Programmer Humor

32560 readers
265 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

I'm trying out Obsidian for taking notes, and this made me laugh.

you are viewing a single comment's thread
view the rest of the comments
[–] Gentoo1337@sh.itjust.works 122 points 1 year ago (2 children)

Why would I want to exit vim?

[–] DWin@sh.itjust.works 33 points 1 year ago (2 children)

I tmux my vim session so I never have to exit it, I just end the session and NOTHING OF NOTE HAPPENS

[–] sloppy_diffuser@sh.itjust.works 14 points 1 year ago (3 children)

Just all those left over swap files I forget about because they are in every one of my dot ignore files.

[–] 0x0@lemmy.dbzer0.com 11 points 1 year ago

Aka "vim turds"

[–] samson@aussie.zone 4 points 1 year ago (1 children)
[–] sgh@lemmy.ml 6 points 1 year ago (1 children)
[–] samson@aussie.zone 1 points 1 year ago

But importantly the swp files in my home directory are gone, along with all my rc files but who needs them

[–] MonkderZweite@feddit.ch 3 points 1 year ago
set swapfile
set dir=~/.cache

No, i just googled it.

[–] spacesweedkid27@lemmy.world 8 points 1 year ago (2 children)
[–] uis@lemmy.world 4 points 1 year ago* (last edited 1 year ago) (1 children)

What if SIGTERM not enough? Kill nine times. Like this: killall -9 vim. Congratulations, comrade, you have passed KGB exam.

[–] psycho_driver@lemmy.world 8 points 1 year ago (1 children)

Hmm never thought of it like that. Unix programs are actually cats, and sometimes you have to kill all nine of their lives to really end them.

[–] uis@lemmy.world 2 points 1 year ago

Yes, one of them literally have name cat, so you can kill all the cats with killall -9 cat

[–] DWin@sh.itjust.works 3 points 1 year ago

You monster, I prefer denial

[–] lemme_at_it@lemmy.world 3 points 1 year ago

It is much easier not to