this post was submitted on 24 Mar 2024
820 points (95.5% liked)

linuxmemes

21198 readers
232 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 members of the community for any reason.
  • 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, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] [email protected] 63 points 7 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.

    [–] [email protected] 34 points 7 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.

    [–] [email protected] 9 points 7 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.

    [–] [email protected] 12 points 7 months ago (1 children)

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

    [–] [email protected] 17 points 7 months ago* (last edited 7 months ago)

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

    load more comments (2 replies)
    load more comments (1 replies)
    [–] [email protected] 5 points 7 months ago (4 children)

    use UK power sockets it's ever more safe

    [–] [email protected] 25 points 7 months ago

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

    [–] [email protected] 7 points 7 months ago (1 children)
    [–] [email protected] 4 points 7 months ago (1 children)

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

    [–] [email protected] 3 points 7 months ago* (last edited 7 months ago)

    It has done it to me before lol

    load more comments (2 replies)
    [–] [email protected] 4 points 7 months ago

    Instructions unclear, electrocuted while replacing outlets.

    [–] [email protected] 3 points 7 months ago* (last edited 7 months ago)

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

    load more comments (2 replies)
    [–] [email protected] 48 points 7 months ago* (last edited 7 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.

    [–] [email protected] 46 points 7 months ago (1 children)

    Start a second shell and kill the process 😋

    [–] [email protected] 25 points 7 months ago (2 children)

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

    [–] [email protected] 15 points 7 months ago (1 children)
    [–] [email protected] 9 points 7 months ago

    Termux gang!

    [–] [email protected] 5 points 7 months ago

    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.

    [–] [email protected] 25 points 7 months ago (1 children)

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

    [–] [email protected] 15 points 7 months ago (1 children)

    Well ed is the standard text editor after all

    [–] [email protected] 11 points 7 months ago

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

    [–] [email protected] 24 points 7 months ago* (last edited 7 months ago)

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

    [–] [email protected] 12 points 7 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.

    [–] [email protected] 11 points 7 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))

    [–] [email protected] 10 points 7 months ago* (last edited 7 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.

    [–] [email protected] 31 points 7 months ago (2 children)

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

    [–] [email protected] 14 points 7 months ago

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

    [–] [email protected] 5 points 7 months ago (1 children)
    [–] [email protected] 3 points 7 months ago (1 children)
    load more comments (1 replies)
    [–] [email protected] 12 points 7 months ago

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

    [–] [email protected] 11 points 7 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.

    [–] [email protected] 8 points 7 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)
    [–] [email protected] 3 points 7 months ago

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

    load more comments (2 replies)
    [–] [email protected] 8 points 7 months ago (2 children)
    [–] [email protected] 9 points 7 months ago (1 children)

    then disassemble the laptop and remove the battery connection

    [–] [email protected] 6 points 7 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)
    [–] [email protected] 7 points 7 months ago

    Just click the X on your terminal window.

    [–] [email protected] 7 points 7 months ago

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

    [–] [email protected] 6 points 7 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

    [–] [email protected] 6 points 7 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)
    [–] [email protected] 6 points 7 months ago (1 children)
    load more comments (1 replies)
    [–] [email protected] 6 points 7 months ago

    I use arc, btw.

    [–] [email protected] 5 points 7 months ago (3 children)

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

    load more comments (3 replies)
    [–] [email protected] 5 points 7 months ago

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

    [–] [email protected] 5 points 7 months ago (1 children)

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

    [–] [email protected] 6 points 7 months ago (1 children)

    Burn down the sub station to be sure...

    load more comments (1 replies)
    [–] [email protected] 3 points 7 months ago

    See how the socket looks like a V?

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

    [–] [email protected] 3 points 7 months ago

    First boisterous laugh of the day. Thank you!

    [–] [email protected] 3 points 7 months ago

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

    load more comments
    view more: next ›