this post was submitted on 25 Oct 2023
2312 points (99.1% liked)

Programmer Humor

31998 readers
385 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] 123 points 10 months ago (2 children)

Why would I want to exit vim?

[–] [email protected] 33 points 10 months 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 10 months 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 10 months ago

Aka "vim turds"

[–] [email protected] 4 points 10 months ago (1 children)
[–] [email protected] 6 points 10 months ago (1 children)
[–] [email protected] 1 points 10 months 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 10 months ago
set swapfile
set dir=~/.cache

No, i just googled it.

[–] [email protected] 8 points 10 months ago (2 children)
[–] [email protected] 4 points 10 months ago* (last edited 10 months 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 10 months 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 10 months ago

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

[–] [email protected] 3 points 10 months ago

You monster, I prefer denial

[–] [email protected] 3 points 10 months ago

It is much easier not to