kuuhana
  • Communities
  • Multi-communities
  • Support Lemmy
  • Search
  • Login
  • Sign Up
Programmer Humor@programming.devbyKerb@discuss.tchncs.de
3 years

ways to close vim

discuss.tchncs.de
46
    You must log in or register to comment.

    • Jakylla@sh.itjust.works
      3 years
      • Unplug the computer
      • Shut the house electric safety switch down
      • Cut the electricity pole nearest to the house
      • Bomb the nearest electricity distribution post
        • BrooklynMan@lemmy.mlBanned
          3 years

          nuke it from orbit. it’s the only way to be sure.

          • Err(()).unwrap()@lemmy.world
            3 years
            • Wait for a sufficiently powerful coronal mass ejection to collapse the global electric grid
            • jamyang@programming.devdeleted by creator
              3 years

              “Simple and easily explained.”

                • Jakylla@sh.itjust.worksEnglish
                  3 years

                  Pretty sure I can learn my grandma to put a fork in any socket to close Vim, no prior knowledge needed

              • mayoaddict@pawb.social
                3 years

                you can close vim?

                  • z3n0x@feddit.de
                    3 years

                    “this is my life now”

                  • alnilam@lemmy.world
                    3 years

                    Does colon-capital-Q-exclamation mark even work? I’m pretty sure it’s only lower case q.

                      • Kerb@discuss.tchncs.de
                        3 years

                        its supposed to be lowercase,
                        but imgflip put the entire text in uppercase.

                          • RustySharp@programming.dev
                            3 years

                            Honestly, the joke landed anyway. I’ve done numerous uppercase-Q trying to quit, because I didn’t let go of Shift fast enough after typing the colon…

                          • nickwitha_k (he/him)@lemmy.sdf.org
                            3 years

                            Was going to say this, myself.

                          • Eufalconimorph@discuss.tchncs.de
                            3 years

                            cat /dev/zero > "/proc/$(pidof vim)/mem" is my favorite dumb way. Clear its memory, wait for the segfault.

                              • Julian@lemm.ee
                                3 years

                                …you can write to program memory? Idk how exactly but that feels like a security risk.

                                  • nintendiator@feddit.cl
                                    3 years

                                    It’s your process, why shouldn’t you be able to write to it? Vi is certainly doing it…

                                      • Eufalconimorph@discuss.tchncs.de
                                        3 years

                                        You do need to be root to do it to arbitrary processes.

                                    • vrkr@programming.dev
                                      3 years

                                      dumb way.

                                      Get fancy, add progress bar: pv < /dev/zero > “/proc/$(pidof vim)/mem”

                                    • Cloudless ☼@feddit.uk
                                      3 years

                                      Amateur. Just unplug the power cable.

                                      • CaptPretentious@lemmy.world
                                        3 years

                                        Open vim.

                                        Accept vim is the OS now.

                                        • Boermund@feddit.de
                                          3 years

                                          One panel below: shut down the computer

                                          • graham1@gekinzuku.comEnglish
                                            3 years

                                            ctrl-z
                                            kill %1

                                              • Kerb@discuss.tchncs.deEnglish
                                                3 years

                                                holy crap,
                                                that’s exactly what i wanted the last command to do.

                                                i just didn’t know you can target jobs,
                                                and settled with quitting the shell instead

                                                  • graham1@gekinzuku.comEnglish
                                                    3 years

                                                    yeah it’s my favorite way to exit Vim. I post it every time I get a chance lol https://gekinzuku.com/comment/202790

                                                • Sarsoar@lemmy.world
                                                  3 years

                                                  ctrl-S instinctively from windows then panic when the terminal pauses and isnt accepting input so you restart the computer.

                                                    • MattTheProgrammer@kbin.social
                                                      3 years

                                                      Fuck, are you me?

                                                    • mormegil@programming.dev
                                                      3 years

                                                      There’s a whole repo of possible methods: https://github.com/hakluke/how-to-exit-vim

                                                      • Doc Avid Mornington@midwest.social
                                                        3 years

                                                        M-! pkill -9 vim

                                                        • gornius@lemmy.world
                                                          3 years

                                                          ZZ will save file though, the others won’t. You meant ZQ.

                                                          • 𝓹𝓻𝓲𝓷𝓬𝓮𝓼𝓼@lemmy.blahaj.zone
                                                            3 years

                                                            Alt+PrtScn o

                                                            • testifier@sh.itjust.works
                                                              3 years

                                                              https://piped.video/watch?v=s5lj9YdKMz0

                                                              😵‍💫

                                                                • PipedLinkBot@feddit.rocksbot accountEnglish
                                                                  3 years

                                                                  Here is an alternative Piped link(s): https://piped.video/watch?v=s5lj9YdKMz0

                                                                  Piped is a privacy-respecting open-source alternative frontend to YouTube.

                                                                  I’m open-source, check me out at GitHub.

                                                                    • thiccdiccnicc@sh.itjust.worksEnglish
                                                                      3 years

                                                                      Bad bot

                                                                        • IHateRedditAndSpez@programming.devEnglish
                                                                          3 years

                                                                          The comment was edited after the bot responded

                                                                    Programmer Humor@programming.dev

                                                                    programmer_humor@programming.dev

                                                                    Subscribe from remote instance

                                                                    Create post

                                                                    Report community

                                                                    Modlog
                                                                    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
                                                                      • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
                                                                    Visibility: Public

                                                                    This community is visible to everyone.

                                                                    • 1.55K users / Day
                                                                    • 4K users / Week
                                                                    • 8.21K users / Month
                                                                    • 11.9K users / 6 months
                                                                    • 2.61K posts
                                                                    • 97.8K comments
                                                                    • 2 local subscribers
                                                                    • 34.3K subscribers
                                                                    • UI: 1.0.0-beta.0
                                                                    • BE: 1.0.0-alpha.20
                                                                    • Modlog
                                                                    • Instances
                                                                    • Docs
                                                                    • Code
                                                                    • join-lemmy.org