heuristic_lemur@lemmy.ml to Programmer Humor@programming.dev · 4 months agoCopilot can't exit vimlemmy.mlimagemessage-square141linkfedilinkarrow-up1891arrow-down116
arrow-up1875arrow-down1imageCopilot can't exit vimlemmy.mlheuristic_lemur@lemmy.ml to Programmer Humor@programming.dev · 4 months agomessage-square141linkfedilink
minus-squareCevilia (they/she/…)@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up134arrow-down1·4 months 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·4 months 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·4 months 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-up12·4 months agoThat’s a great idea from GitHub user el-sloppo and Claude.
minus-squareCevilia (they/she/…)@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up11arrow-down1·4 months agoAI;DR
minus-squareA7thStone@lemmy.worldlinkfedilinkarrow-up2·4 months agoThen you obviously didn’t read it.
minus-squareCevilia (they/she/…)@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up3·4 months agoYes. That’s literally what I said.
minus-squareenumerator4829@sh.itjust.workslinkfedilinkEnglisharrow-up1·4 months 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-squareGoodlucksil@lemmy.dbzer0.comlinkfedilinkarrow-up9·4 months agoThat settles it. Emacs is better than Vim
minus-square🌞 Alexander Daychilde 🌞@lemmy.worldlinkfedilinkEnglisharrow-up3·4 months agoI bet this comment actually pissed off some people. Lol
minus-squarethe rizzler@lemmygrad.mllinkfedilinkarrow-up1·4 months agohttps://raymii.org/s/blog/Vim_as_PID_1_Boot_to_Vim.html
minus-squareHugeNerd@lemmy.calinkfedilinkarrow-up2·4 months agoAs discovered by plyth, you can’t do anything anymore. There are limits
minus-squaremghackerlady@leminal.spacelinkfedilinkarrow-up4·4 months agoCan vim be pid-1? No? emacs can B)
minus-squarethe rizzler@lemmygrad.mllinkfedilinkarrow-up3·4 months agohttps://raymii.org/s/blog/Vim_as_PID_1_Boot_to_Vim.html
minus-squareCevilia (they/she/…)@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up3arrow-down1·4 months agommmkay.
minus-squareSavinDWhales@lemmy.worldlinkfedilinkarrow-up4·4 months 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·4 months 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.
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
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.
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
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. :)