Jorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 10 months agoVery clever...lemmy.mlimagemessage-square295fedilinkarrow-up12.33Karrow-down120file-text
arrow-up12.31Karrow-down1imageVery clever...lemmy.mlJorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 10 months agomessage-square295fedilinkfile-text
minus-squareGentoo1337@sh.itjust.workslinkfedilinkarrow-up124arrow-down1·10 months agoWhy would I want to exit vim?
minus-squareDWin@sh.itjust.workslinkfedilinkarrow-up33·10 months agoI tmux my vim session so I never have to exit it, I just end the session and NOTHING OF NOTE HAPPENS
minus-squaresloppy_diffuser@sh.itjust.workslinkfedilinkEnglisharrow-up14·10 months agoJust all those left over swap files I forget about because they are in every one of my dot ignore files.
minus-squareTrailblazing Braille Taser@lemmy.dbzer0.comlinkfedilinkarrow-up11·10 months agoAka “vim turds”
minus-squaresamson@aussie.zonelinkfedilinkarrow-up1·10 months agoBut importantly the swp files in my home directory are gone, along with all my rc files but who needs them
minus-squareMonkderZweite@feddit.chlinkfedilinkarrow-up3·10 months agoset swapfile set dir=~/.cache No, i just googled it.
minus-squareuis@lemmy.worldlinkfedilinkarrow-up4·edit-210 months agoWhat if SIGTERM not enough? Kill nine times. Like this: killall -9 vim. Congratulations, comrade, you have passed KGB exam.
minus-squarepsycho_driver@lemmy.worldlinkfedilinkarrow-up8·10 months 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-squareuis@lemmy.worldlinkfedilinkarrow-up2·10 months agoYes, one of them literally have name cat, so you can kill all the cats with killall -9 cat
minus-squarelemme_at_it@lemmy.worldlinkfedilinkEnglisharrow-up3·10 months agoIt is much easier not to
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