@[email protected] to Programmer [email protected]English • 1 year agoVery clever...lemmy.mlimagemessage-square274fedilinkarrow-up12.25Karrow-down119file-text
arrow-up12.24Karrow-down1imageVery clever...lemmy.ml@[email protected] to Programmer [email protected]English • 1 year agomessage-square274fedilinkfile-text
minus-square@[email protected]linkfedilink32•1 year agoI tmux my vim session so I never have to exit it, I just end the session and NOTHING OF NOTE HAPPENS
minus-square@[email protected]linkfedilinkEnglish14•1 year agoJust all those left over swap files I forget about because they are in every one of my dot ignore files.
minus-square@[email protected]linkfedilink1•1 year agoBut importantly the swp files in my home directory are gone, along with all my rc files but who needs them
minus-square@[email protected]linkfedilink3•1 year agoset swapfile set dir=~/.cache No, i just googled it.
minus-square@uislink4•edit-21 year agoWhat if SIGTERM not enough? Kill nine times. Like this: killall -9 vim. Congratulations, comrade, you have passed KGB exam.
minus-square@psycho_driverlink9•1 year agoHmm 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.
minus-square@uislink2•1 year agoYes, one of them literally have name cat, so you can kill all the cats with killall -9 cat
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
set swapfile set dir=~/.cache
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