Lemmy - RazBot
  • Communities
  • Create Post
  • Create Community
  • 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
5
link
fedilink
3

ways to close vim

discuss.tchncs.de

Kerb@discuss.tchncs.de to Programmer Humor@programming.dev · 2 years ago
message-square
5
link
fedilink
alert-triangle
You must log in or # to comment.
  • gornius@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

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

  • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 🏆@yiffit.net
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    Does unplugging the machine not work?

    • Sagrotan@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      I call my local energy provider and simply cancel my contract with immediate effect.

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

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

    • 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”

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: [email protected]

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.77K users / day
  • 4.33K users / week
  • 7.7K users / month
  • 20.2K users / 6 months
  • 1 local subscriber
  • 25.2K subscribers
  • 1.57K Posts
  • 54.2K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.12
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org