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

Programmer Humor

32718 readers
478 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
[–] [email protected] 121 points 1 year ago (2 children)

Why would I want to exit vim?

[–] [email protected] 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

[–] [email protected] 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.

[–] [email protected] 11 points 1 year ago

Aka "vim turds"

[–] [email protected] 4 points 1 year ago (1 children)
[–] [email protected] 6 points 1 year ago (1 children)
[–] [email protected] 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

[–] [email protected] 3 points 1 year ago
set swapfile
set dir=~/.cache

No, i just googled it.

[–] [email protected] 8 points 1 year ago (2 children)
[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 2 points 1 year ago

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

[–] [email protected] 3 points 1 year ago

You monster, I prefer denial

[–] [email protected] 3 points 1 year ago

It is much easier not to