Content Warning

CONTENT WARNING

You may view NSFW content!

If you are under 18 years old you are not allowed to continue!

Lemmy.NRDBLG.de
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
heuristic_lemur@lemmy.ml to Programmer Humor@programming.dev · 4 months ago

Copilot can't exit vim

lemmy.ml

message-square
25
link
fedilink
7

Copilot can't exit vim

lemmy.ml

heuristic_lemur@lemmy.ml to Programmer Humor@programming.dev · 4 months ago
message-square
25
link
fedilink
alert-triangle
You must log in or # to comment.
  • Feyter@programming.devM
    link
    fedilink
    arrow-up
    6
    ·
    4 months ago

    No one can exit vim. It’s simply not possible.

    There are even legends that the devil himself was onced tricked into opening vim and is stuck there since.

    • affenlehrer@feddit.org
      link
      fedilink
      arrow-up
      5
      ·
      4 months ago

      That explains the many vim enthusiasts that don’t want any other editor. They simply can’t exit the vim instance they once accidentally opened…

      • BlackVenom@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        Stockholm Editor

      • wewbull@feddit.uk
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        The Eagles called it Hotel California.

        • hakunawazo@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          4 months ago

          “We are all just prisoners here of our own device”
          So true, so true.

    • Bakkoda@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      You just reboot. Right?

      • Hossenfeffer@feddit.uk
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        “… and that’s why I need you to take the power plant offline.”

        • plyth@feddit.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 months ago

          “… and that’s why I need you to take the power plants offline.”

          For those who don’t live in the US and have an electical grid with more than one power plant.

  • Cevilia (they/she/…)@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 months 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
      1
      ·
      4 months 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
        0
        ·
        4 months 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
          2
          ·
          4 months ago

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

          • A7thStone@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            4 months ago

            Did you read the retrospective.md

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

              AI;DR

              • A7thStone@lemmy.world
                link
                fedilink
                arrow-up
                0
                ·
                4 months ago

                Then you obviously didn’t read it.

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

                  Yes. That’s literally what I said.

  • otter@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 months ago

    This is how we trap it. This is how we win.

    • AmanitaCaesarea@slrpnk.net
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      This is how we vim😏

  • Jhex@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    This is the closest I have seen Copilot doing something like a human Programmer would

  • Luminous5481 "Enemy of the State"@anarchist.nexus
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    Copilot is just like me!

  • jeffep@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    How to protect your computer from automated AI attacks 101: start vim

  • reksas@sopuli.xyz
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    4 months ago

    i cant understand all the vim hyping. its probably very neat and can do whatever, but what good is that if it takes awful amount of bother to learn everything by heart since interface has been designed to be as unfriendly as possible. it doesnt have to be fit for office worker, but at least some ease of use is needed.

    • schnurrito@discuss.tchncs.de
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      since interface has been designed to be as unfriendly as possible

      No, it hasn’t.

      It (well, vi, which vim is a clone of) has been designed to be a possible interface on a keyboard that doesn’t have arrow keys or other modifier keys than shift. There aren’t that many ways to program a visual text editor when those are your constraints.

      That it’s more productive once you know it is a side-effect.

      • Dyskolos@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 month ago

        deleted by creator

        • Denys Nykula@piefed.social
          link
          fedilink
          English
          arrow-up
          0
          ·
          4 months ago

          My netbook has a keyboard without Home, End, PgUp, PgDn, Ins and Del keys. Vim and Emacs modes make it significantly more usable while remaining small. Vim is also convenient in Termux, for quick remote fixes from a phone.

          • Dyskolos@lemmy.zip
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            1 month ago

            deleted by creator

        • schnurrito@discuss.tchncs.de
          link
          fedilink
          arrow-up
          0
          ·
          4 months ago

          At the time vi was originally developed, such keyboards did exist (on terminals). That’s the reason it works the way it does.

          • Dyskolos@lemmy.zip
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            1 month ago

            deleted by creator

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.

  • 433 users / day
  • 2.89K users / week
  • 6.68K users / month
  • 12K users / 6 months
  • 1 local subscriber
  • 32.9K subscribers
  • 622 Posts
  • 8.16K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.17
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org