heuristic_lemur@lemmy.ml to Programmer Humor@programming.dev · 3 days agoCopilot can't exit vimlemmy.mlimagemessage-square147linkfedilinkarrow-up1892arrow-down115
arrow-up1877arrow-down1imageCopilot can't exit vimlemmy.mlheuristic_lemur@lemmy.ml to Programmer Humor@programming.dev · 3 days agomessage-square147linkfedilink
minus-squareCevilia (they/she/…)@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up132arrow-down1·3 days agoEvery computer has a built-in “exit vim” button, conveniently located on the chassis, usually next to the power cord. Flick it to 0, then back to 1, and you’ll find vim has been successfully exited. :)
minus-squarefour@lemmy.ziplinkfedilinkEnglisharrow-up56·3 days agoWhat if my PC boots straight into Vim? It’s not like I need anything else, can do everything in Vim
minus-squareenumerator4829@sh.itjust.workslinkfedilinkEnglisharrow-up27·3 days agoJokes aside, vim as PID 1 is just a bad idea. Emacs on the other hand: https://github.com/emacs-os/el-init
minus-squareGenosseFlosse@feddit.orglinkfedilinkarrow-up10·2 days agoThat’s a great idea from GitHub user el-sloppo and Claude.
minus-squareenumerator4829@sh.itjust.workslinkfedilinkEnglisharrow-up1·16 hours agoTo be fair, I’ve seen this done a long time before LLM slopped everything, but I think they ran emacs as PID2 in that variation. Anyway, good luck doing it in vimscript.
minus-squareCevilia (they/she/…)@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up9arrow-down1·2 days agoAI;DR
minus-squareCevilia (they/she/…)@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up1·1 day agoYes. That’s literally what I said.
minus-squareGoodlucksil@lemmy.dbzer0.comlinkfedilinkarrow-up9·2 days agoThat settles it. Emacs is better than Vim
minus-square🌞 Alexander Daychilde 🌞@lemmy.worldlinkfedilinkEnglisharrow-up3·2 days agoI bet this comment actually pissed off some people. Lol
minus-squarethe rizzler@lemmygrad.mllinkfedilinkarrow-up1·2 days agohttps://raymii.org/s/blog/Vim_as_PID_1_Boot_to_Vim.html
minus-squareHugeNerd@lemmy.calinkfedilinkarrow-up2·15 hours agoAs discovered by plyth, you can’t do anything anymore. There are limits
minus-squareJackbyDev@programming.devlinkfedilinkEnglisharrow-up1·13 hours agoSeeing you reply made me click the link, where is my beloved! At least the new owners want to keep it Zombo.
minus-squaremghackerlady@leminal.spacelinkfedilinkarrow-up4·3 days agoCan vim be pid-1? No? emacs can B)
minus-squarethe rizzler@lemmygrad.mllinkfedilinkarrow-up3·2 days agohttps://raymii.org/s/blog/Vim_as_PID_1_Boot_to_Vim.html
minus-squareCevilia (they/she/…)@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up3arrow-down1·3 days agommmkay.
minus-squareSavinDWhales@lemmy.worldlinkfedilinkarrow-up4·3 days agoYou simply need to set up a MCP server which controls the smart plug and give the AI access to it.
minus-squareCevilia (they/she/…)@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up2·2 days agoI don’t even know what a MCP server is and I feel like I’ve somewhat dodged a bullet there. Ignorance is bliss. :)
Every computer has a built-in “exit vim” button, conveniently located on the chassis, usually next to the power cord. Flick it to 0, then back to 1, and you’ll find vim has been successfully exited. :)
What if my PC boots straight into Vim? It’s not like I need anything else, can do everything in Vim
Jokes aside, vim as PID 1 is just a bad idea.
Emacs on the other hand: https://github.com/emacs-os/el-init
That’s a great idea from GitHub user el-sloppo and Claude.
To be fair, I’ve seen this done a long time before LLM slopped everything, but I think they ran emacs as PID2 in that variation.
Anyway, good luck doing it in vimscript.
Did you read the retrospective.md
AI;DR
Then you obviously didn’t read it.
Yes. That’s literally what I said.
Removed by mod
That settles it. Emacs is better than Vim
I bet this comment actually pissed off some people. Lol
https://raymii.org/s/blog/Vim_as_PID_1_Boot_to_Vim.html
Oh it’s like Zombo?
Zombo.com
As discovered by plyth, you can’t do anything anymore. There are limits
Seeing you reply made me click the link, where is my beloved! At least the new owners want to keep it Zombo.
Not anymore.
crap
Can vim be pid-1? No? emacs can B)
https://raymii.org/s/blog/Vim_as_PID_1_Boot_to_Vim.html
mmmkay.
You simply need to set up a MCP server which controls the smart plug and give the AI access to it.
I don’t even know what a MCP server is and I feel like I’ve somewhat dodged a bullet there. Ignorance is bliss. :)