Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
heuristic_lemur@lemmy.ml to Programmer Humor@programming.dev · 3 days ago

Copilot can't exit vim

lemmy.ml

message-square
147
link
fedilink
877

Copilot can't exit vim

lemmy.ml

heuristic_lemur@lemmy.ml to Programmer Humor@programming.dev · 3 days ago
message-square
147
link
fedilink
  • Cevilia (they/she/…)@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    132
    arrow-down
    1
    ·
    3 days ago

    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. :)

    • four@lemmy.zip
      link
      fedilink
      English
      arrow-up
      56
      ·
      3 days ago

      What if my PC boots straight into Vim? It’s not like I need anything else, can do everything in Vim

      • enumerator4829@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        27
        ·
        3 days ago

        Jokes aside, vim as PID 1 is just a bad idea.

        Emacs on the other hand: https://github.com/emacs-os/el-init

        • GenosseFlosse@feddit.org
          link
          fedilink
          arrow-up
          10
          ·
          2 days ago

          That’s a great idea from GitHub user el-sloppo and Claude.

          • enumerator4829@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            1
            ·
            16 hours ago

            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.

          • A7thStone@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            2 days ago

            Did you read the retrospective.md

            • Cevilia (they/she/…)@lemmy.blahaj.zone
              link
              fedilink
              English
              arrow-up
              9
              arrow-down
              1
              ·
              2 days ago

              AI;DR

              • A7thStone@lemmy.world
                link
                fedilink
                arrow-up
                2
                ·
                1 day ago

                Then you obviously didn’t read it.

                • Cevilia (they/she/…)@lemmy.blahaj.zone
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  1 day ago

                  Yes. That’s literally what I said.

                  • A7thStone@lemmy.world
                    link
                    fedilink
                    arrow-up
                    2
                    ·
                    1 day ago

                    Removed by mod

        • Goodlucksil@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          9
          ·
          2 days ago

          That settles it. Emacs is better than Vim

          • 🌞 Alexander Daychilde 🌞@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            2 days ago

            I bet this comment actually pissed off some people. Lol

        • the rizzler@lemmygrad.ml
          link
          fedilink
          arrow-up
          1
          ·
          2 days ago

          https://raymii.org/s/blog/Vim_as_PID_1_Boot_to_Vim.html

      • HugeNerd@lemmy.ca
        link
        fedilink
        arrow-up
        6
        ·
        2 days ago

        Oh it’s like Zombo?

        • JackbyDev@programming.dev
          link
          fedilink
          English
          arrow-up
          5
          ·
          2 days ago

          Zombo.com

          • HugeNerd@lemmy.ca
            link
            fedilink
            arrow-up
            2
            ·
            15 hours ago

            As discovered by plyth, you can’t do anything anymore. There are limits

            • JackbyDev@programming.dev
              link
              fedilink
              English
              arrow-up
              1
              ·
              13 hours ago

              Seeing you reply made me click the link, where is my beloved! At least the new owners want to keep it Zombo.

        • plyth@feddit.org
          link
          fedilink
          English
          arrow-up
          3
          ·
          2 days ago

          Not anymore.

          • HugeNerd@lemmy.ca
            link
            fedilink
            arrow-up
            2
            ·
            15 hours ago

            crap

      • mghackerlady@leminal.space
        link
        fedilink
        arrow-up
        4
        ·
        3 days ago

        Can vim be pid-1? No? emacs can B)

        • the rizzler@lemmygrad.ml
          link
          fedilink
          arrow-up
          3
          ·
          2 days ago

          https://raymii.org/s/blog/Vim_as_PID_1_Boot_to_Vim.html

      • Cevilia (they/she/…)@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        3 days ago

        mmmkay.

    • SavinDWhales@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      3 days ago

      You simply need to set up a MCP server which controls the smart plug and give the AI access to it.

      • Cevilia (they/she/…)@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        I don’t even know what a MCP server is and I feel like I’ve somewhat dodged a bullet there. Ignorance is bliss. :)

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.81K users / day
  • 4.33K users / week
  • 8.99K users / month
  • 16.4K users / 6 months
  • 1 local subscriber
  • 31K subscribers
  • 1.04K Posts
  • 17.2K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • UI: unknown version
  • BE: 0.19.13
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org