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

Programmer Humor

32410 readers
523 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] 32 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.

[–] spacesweedkid27 8 points 1 year ago (2 children)
[–] uis 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 9 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 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

[–] lemme_at_it 3 points 1 year ago

It is much easier not to