Civilloquy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Kerb@discuss.tchncs.de to Programmer Humor@programming.dev · 2 years ago

ways to close vim

discuss.tchncs.de

message-square
23
fedilink
163

ways to close vim

discuss.tchncs.de

Kerb@discuss.tchncs.de to Programmer Humor@programming.dev · 2 years ago
message-square
23
fedilink
alert-triangle
You must log in or register to comment.
  • Jakylla@sh.itjust.works
    link
    fedilink
    arrow-up
    38
    ·
    2 years ago
    • 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.ml
      link
      fedilink
      arrow-up
      14
      ·
      2 years ago

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

    • rtxn@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      2 years ago
      • Wait for a sufficiently powerful coronal mass ejection to collapse the global electric grid
    • jamyang@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      “Simple and easily explained.”

      • Jakylla@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

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

  • alnilam@lemmy.world
    link
    fedilink
    arrow-up
    21
    ·
    2 years ago

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

    • Kerb@discuss.tchncs.deOP
      link
      fedilink
      arrow-up
      17
      ·
      2 years ago

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

      • RustySharp@programming.dev
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        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
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Was going to say this, myself.

  • Eufalconimorph@discuss.tchncs.de
    link
    fedilink
    arrow-up
    18
    ·
    2 years ago

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

    • Julian@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

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

    • vrkr@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 years ago

      dumb way.

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

  • Cloudless ☼@feddit.uk
    link
    fedilink
    arrow-up
    11
    ·
    2 years ago

    Amateur. Just unplug the power cable.

  • CaptPretentious@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    2 years ago

    Open vim.

    Accept vim is the OS now.

  • mormegil@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

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

  • Sarsoar@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

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

    • MattTheProgrammer@kbin.social
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      2 years ago

      Fuck, are you me?

  • gornius@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

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

  • testifier@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    2 years ago

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

    😵‍💫

  • ImpossibleRubiksCube@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    2 years ago

    deleted by creator

  • stebo02@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 months ago

    deleted by creator

  • onescomplement@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    https://youtu.be/4889ED2-ufw

  • JohnJVaccaro@lemmy.sdf.org
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    try…

    :x

    it will save your changes and exit vim If there are no changes to the then it just exits vim.

  • Just_Dominic@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago
    1. Ctrl + T + alt
    2. sudo reboot

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.

  • 771 users / day
  • 2.7K users / week
  • 6.98K users / month
  • 16.5K users / 6 months
  • 1 local subscriber
  • 24.8K subscribers
  • 1.37K Posts
  • 33.4K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org