this post was submitted on 24 Mar 2024
837 points (95.4% liked)

linuxmemes

22145 readers
774 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] poinck@lemm.ee 63 points 10 months ago (6 children)

    I see at least two problems here:

    1. Don't pull on the cable, pull on the plug.

    2. Use EU power sockets, it is safer, more like :q! when existing vim and unsaved changed you made to the file are lost for sure.

    [–] paholg@lemm.ee 35 points 10 months ago (2 children)

    Ah yes, I'll just replace all my power sockets, get rid of all my electronics, and only buy imported European electronics from now on.

    It's so obvious, why didn't I think of it before.

    Oh yeah, and rewire my whole house to 240 V. Easy peasy.

    [–] Steve@startrek.website 9 points 10 months ago (3 children)

    To be fair, switching to 240v is pretty easy, just move the neutral to a hot leg in the fuse box.

    [–] bitwaba@lemmy.world 12 points 10 months ago (1 children)

    Wouldn't that hot leg need to be 180 degrees out of phase with the other?

    [–] Steve@startrek.website 17 points 10 months ago* (last edited 10 months ago)

    Yes but I was’t trying to write a book this morning.

    load more comments (2 replies)
    load more comments (1 replies)
    [–] phuntis@sopuli.xyz 5 points 10 months ago (4 children)

    use UK power sockets it's ever more safe

    [–] hollunder@discuss.tchncs.de 25 points 10 months ago

    That's how you brexit vim tho. Takes years to complete, no coming back and bricks everything else in the process.

    [–] XEAL@lemm.ee 7 points 10 months ago (1 children)
    [–] phuntis@sopuli.xyz 4 points 10 months ago (1 children)

    dammit it was refusing to send the message so I kept retrying it's never done that to me before

    [–] XEAL@lemm.ee 3 points 10 months ago* (last edited 10 months ago)

    It has done it to me before lol

    load more comments (2 replies)
    [–] Steve@startrek.website 4 points 10 months ago

    Instructions unclear, electrocuted while replacing outlets.

    [–] Potatos_are_not_friends@lemmy.world 3 points 10 months ago* (last edited 10 months ago)

    See, that's why I just flip the circuit breakers to ensure a successful exit

    load more comments (2 replies)
    [–] AusatKeyboardPremi@lemmy.world 48 points 10 months ago* (last edited 10 months ago) (1 children)

    Exiting Vim is for beginners.

    Veterans stay in Vim till the end of time. Probably for the same reasons why the meme in post was made.

    [–] morethanevil@lemmy.fedifriends.social 46 points 10 months ago (1 children)

    Start a second shell and kill the process πŸ˜‹

    [–] rmuk@feddit.uk 25 points 10 months ago (2 children)

    Rookie. I have a shell script on my phone that SSHs into my computer and reboots.

    [–] TheGingerNut@lemmy.blahaj.zone 15 points 10 months ago (1 children)
    [–] swab148@startrek.website 9 points 10 months ago

    Termux gang!

    You (might be) joking but I did this for my home server and I absolutely love how powerful I feel controlling my entire network from a terminal app on my phone.

    My old man energy is showing because I'm so used to looking for a laptop/PC to do this.

    [–] stoy@lemmy.zip 25 points 10 months ago (1 children)

    I see they reused the instructions for ed, great to see how intuitive Linux is between different programs

    [–] jerrythegenius@lemmy.world 16 points 10 months ago (1 children)

    Well ed is the standard text editor after all

    [–] stoy@lemmy.zip 11 points 10 months ago

    My point exactly, I am just happy Vim follows the standard (:

    [–] TheGingerNut@lemmy.blahaj.zone 24 points 10 months ago* (last edited 10 months ago)

    Glad ubuntu defaults to nano. One of the few decent choices that distro ever made

    [–] daniskarma@lemmy.world 12 points 10 months ago

    The laughing comes when you are so used to vim that you begin using :q in other programs and wonder why doesn't it exit.

    [–] bali10050@lemmy.world 11 points 10 months ago

    For the more advanced, there's a button(the more sophisticated may call it a β€žswitch”) for that(on the wall(the fuse))

    [–] PlexSheep@feddit.de 10 points 10 months ago* (last edited 10 months ago) (7 children)

    I really don't get the exit vim meme anymore. It's just two key presses, trivial. When you hit <C-c> it tells you exactly what to do. Anyone stuck in vom either does not read or has no idea how to use a terminal.

    Edit: I'm German, I meant vim.

    [–] hollunder@discuss.tchncs.de 31 points 10 months ago (2 children)

    Yeah vom is easy. Have you tried exiting vim tho?

    [–] Dicska@lemmy.world 14 points 10 months ago

    Whenever I have to edit a text file when nauseous, I just vom it.

    [–] jaybone@lemmy.world 5 points 10 months ago (1 children)
    [–] iAvicenna@lemmy.world 12 points 10 months ago

    I mean how hard could it be, you just press some random letters until it exits

    [–] Croquette@sh.itjust.works 11 points 10 months ago

    Vim is unintuitive. If you are a new linux CLI user and follow some tutorials that tells you to run vim, modify something then save and exit, it can be daunting.

    [–] some_guy@lemmy.sdf.org 8 points 10 months ago (1 children)

    ^^ The kind of person who doesn't remember what it's like being new at the CLI.

    or…

    Linux is so easy, n00b. You're just stupid.

    load more comments (1 replies)
    [–] Dasnap@lemmy.world 3 points 10 months ago

    :x simple as. Vim was the first terminal text editor I used so I'm biased.

    load more comments (2 replies)
    [–] WhiskyTangoFoxtrot@lemmy.world 8 points 10 months ago (2 children)
    [–] DestroyMegacorps@lemmy.ml 9 points 10 months ago (1 children)

    then disassemble the laptop and remove the battery connection

    [–] Nilz@sopuli.xyz 6 points 10 months ago

    Maybe that's why Linux users enjoy old ThinkPads so much, you can just pull out the battery without opening the laptop.

    load more comments (1 replies)
    [–] possiblylinux127@lemmy.zip 7 points 10 months ago (1 children)

    Don't pull plugs out of the wall by the cord. Grab the base of the plug firmly and pull perpendicular to the wall

    [–] AstroLightz@lemmy.world 6 points 10 months ago (1 children)

    So you're saying I shouldn't pull the socket out of the wall to unplug?

    load more comments (1 replies)
    [–] Draconic_NEO@lemmy.world 7 points 10 months ago

    Just click the X on your terminal window.

    [–] Treczoks@lemmy.world 7 points 10 months ago

    I simply avoid this issue by not starting vim in the first place.

    [–] uis@lemm.ee 6 points 10 months ago (1 children)
    load more comments (1 replies)
    [–] Hobbes_Dent@lemmy.world 6 points 10 months ago

    I use arc, btw.

    [–] HAL_9_TRILLION@lemmy.dbzer0.com 5 points 10 months ago (3 children)

    C'mon guys. Escape, colon q bang. It practically exits itself.

    load more comments (3 replies)
    [–] thechadwick@lemmy.world 5 points 10 months ago

    Why would you exit vim tho? Are you being forced under duress or something?

    [–] rem26_art@fedia.io 5 points 10 months ago (1 children)

    Better turn off all the breakers in your house. Just to make sure you've really closed it

    [–] Tomato666@lemmy.sdf.org 6 points 10 months ago (1 children)

    Burn down the sub station to be sure...

    load more comments (1 replies)
    [–] garzaza77@lemmy.world 3 points 10 months ago

    it's just too many keys to press at once i cant do it

    [–] GravelPieceOfSword@lemmy.ca 3 points 10 months ago

    See how the socket looks like a V?

    That's how you remember it's meant to be used to exit vi.

    [–] some_guy@lemmy.sdf.org 3 points 10 months ago

    First boisterous laugh of the day. Thank you!

    load more comments
    view more: next β€Ί