2315
Very clever...
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
Why would I want to exit vim?
I tmux my vim session so I never have to exit it, I just end the session and NOTHING OF NOTE HAPPENS
Just all those left over swap files I forget about because they are in every one of my dot ignore files.
Aka "vim turds"
yes | rm -r ./.*
RIP my .git folders
But importantly the swp files in my home directory are gone, along with all my rc files but who needs them
No, i just googled it.
killall vim
What if SIGTERM not enough? Kill nine times. Like this:
killall -9 vim
. Congratulations, comrade, you have passed KGB exam.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.
Yes, one of them literally have name cat, so you can kill all the cats with
killall -9 cat
You monster, I prefer denial
It is much easier not to