heuristic_lemur@lemmy.ml to Programmer Humor@programming.dev · 1 month agoCopilot can't exit vimimagemessage-square146linkfedilinkarrow-up1906arrow-down116
arrow-up1890arrow-down1imageCopilot can't exit vimheuristic_lemur@lemmy.ml to Programmer Humor@programming.dev · 1 month agomessage-square146linkfedilink
minus-squareCevilia (they/she/…)@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up136arrow-down1·1 month 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-up58·1 month 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·1 month 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·1 month agoThat’s a great idea from GitHub user el-sloppo and Claude.
minus-squareCevilia (they/she/…)@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up11arrow-down1·1 month agoAI;DR
minus-squareCevilia (they/she/…)@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up3·1 month agoYes. That’s literally what I said.
minus-squareenumerator4829@sh.itjust.workslinkfedilinkEnglisharrow-up1·1 month 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·1 month agoThat settles it. Emacs is better than Vim
minus-square🌞 Alexander Daychilde 🌞@lemmy.worldlinkfedilinkEnglisharrow-up3·1 month agoI bet this comment actually pissed off some people. Lol
minus-squarethe rizzler@lemmygrad.mllinkfedilinkarrow-up1·1 month agohttps://raymii.org/s/blog/Vim_as_PID_1_Boot_to_Vim.html
minus-squareHugeNerd@lemmy.calinkfedilinkarrow-up2·1 month agoAs discovered by plyth, you can’t do anything anymore. There are limits
minus-squareJackbyDev@programming.devlinkfedilinkEnglisharrow-up1·1 month 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·1 month agoCan vim be pid-1? No? emacs can B)
minus-squarethe rizzler@lemmygrad.mllinkfedilinkarrow-up3·1 month agohttps://raymii.org/s/blog/Vim_as_PID_1_Boot_to_Vim.html
minus-squareCevilia (they/she/…)@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up3arrow-down1·1 month agommmkay.
minus-squareSavinDWhales@lemmy.worldlinkfedilinkarrow-up4·1 month 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·1 month 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
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. :)