this post was submitted on 20 Nov 2023
354 points (88.0% liked)

linuxmemes

25967 readers
1049 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.
  • 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, no politics, no trolling or ragebaiting.
  • 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.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    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
     
    all 48 comments
    sorted by: hot top controversial new old
    [–] kernelle@0d.gs 24 points 2 years ago (2 children)

    They might be stuck in insert or replace mode. Nobody mentioned hitting escape before :x or :q!

    Lol, as if they haven't already tried Esc half a dozen times before googling how exit vim

    [–] NorthWestWind@lemmy.world 4 points 2 years ago

    If the idea of hitting escape didn't spark for them, I don't think they can even get into insert mode

    [–] sxan@midwest.social 23 points 2 years ago (3 children)

    One great thing about this joke is a that I doubt there's anyone left who doesn't know how to exit vim.

    Was watching a twitch streamer learning linux, and chat convinced them to open vim for the first time. Not a single person gave the real answer of how to exit, all joke answers like "Power off," and it was hilarious.

    [–] jrbaconcheese@yall.theatl.social 12 points 2 years ago (1 children)

    I have no idea, but I know it’s awful

    [–] ArcaneSlime@lemmy.dbzer0.com 11 points 2 years ago* (last edited 2 years ago)

    It's really not that bad. [ESC] :wq Escape to exit input mode and enter command mode, then the command indicator : w for write and q for quit. To quit without writing force it with :q!. Done.

    [–] Aceticon@lemmy.world 2 points 2 years ago* (last edited 2 years ago)

    Well, depending on how long one is trying to exit Vim and hence the level of frustration, exiting Vim might involve the use of a sledgehammer...

    [–] 018118055@sopuli.xyz 15 points 2 years ago (1 children)
    [–] TheWoozy@lemmy.world 13 points 2 years ago

    Please don't put the punchline in the title.

    [–] majestictechie@lemmy.fosshost.com 9 points 2 years ago (2 children)
    [–] user224@lemmy.sdf.org 9 points 2 years ago (1 children)

    Additionally for save and exit: :wq (read as write and quit) or ZZ (without colon).

    [–] erev@lemmy.world 2 points 2 years ago (1 children)

    :x will save and exit. The difference between :x and :wq is that the latter will always write to the buffer, while the former will only do so if theres a change.

    [–] user224@lemmy.sdf.org 2 points 2 years ago

    Sup. And ZZ is like :x, write only if change was made.

    [–] synae@lemmy.sdf.org 2 points 2 years ago

    I like :cq for if I want to cancel my git commit message (or similar)

    [–] callyral@pawb.social 7 points 2 years ago (1 children)

    Wait, has he entered Vim in his mind??

    [–] fl42v@lemmy.ml 1 points 2 years ago* (last edited 2 years ago)

    That's what everyone who starts learning it does. Then you.jjjj websites or :wq documents, and eventually end up installing vim-like plugins for everything

    [–] Doombot1@lemmy.one 7 points 2 years ago

    Freak out and force-power-down your PC, and never accidentally open vim again

    [–] MeDuViNoX@sh.itjust.works 6 points 2 years ago

    Turn it off and back on again.

    [–] Pantherina@feddit.de 6 points 2 years ago (2 children)

    I have the feeling these editors only make sense on US keyboards. Like ":" for what? This is not a primary sign anywhere, why not just control like a normal person, working on every keyboard?

    [–] corrupts_absolutely@sh.itjust.works 7 points 2 years ago (1 children)

    its just a neat button on the home row on qwerty yea

    [–] Pantherina@feddit.de 1 points 2 years ago (1 children)

    Thats what I mean, "/" too, makes no sense at all for search. Its Ctrl+F, Ctrl+S, Ctrl+O, Ctrl+X etc.

    Thats why nano makes more sense for all people, but I suppose vim could be edited to be like that?

    emacs is close to that besides all the ctrl+ combinations being nonsensical. the actual reason either arent very popular is the steep initial curve and the fact that most people dont even care about editing text that much and also the delayed gratification for the amount of time it takes to get used to. but once ure used to vim u kinda want vim everywhere

    [–] synae@lemmy.sdf.org 3 points 2 years ago (1 children)

    sure, pull requests welcome. good luck

    [–] Pantherina@feddit.de 3 points 2 years ago

    Haha not gonna happen

    [–] omnissiah@iusearchlinux.fyi 6 points 2 years ago (1 children)
    [–] Swarfega@lemm.ee 3 points 2 years ago (2 children)
    [–] MajorHavoc@lemmy.world 8 points 2 years ago

    Gotta let it know we mean business! /s

    [–] BeardedGingerWonder@feddit.uk 2 points 2 years ago* (last edited 2 years ago)

    OR :x at that point.

    [–] jaybone@lemmy.world 5 points 2 years ago

    How do I put the punchline in the title?

    [–] ramius345@sh.itjust.works 4 points 2 years ago (1 children)
    [–] Anticorp@lemmy.ml 3 points 2 years ago (1 children)

    I don't understand why this is such a popular meme. Take 5 minutes to read about how Vim works, and you won't have any more issues.

    [–] BeigeAgenda@lemmy.ca -1 points 2 years ago

    Nowadays it's easy when you open vim inside gnome terminal, in my old offline noob days it was like "oh shit my terminal is locked" and the way out was either Alt+F2 and then try again or Ctrl+Z; pkill %1.

    I never caught the vim bug and started with using joe and switched to nano later, I played with Emacs for some time but ended up using a GUI editor instead.

    [–] kat_angstrom@lemmy.world 3 points 2 years ago (1 children)
    [–] OddFed@feddit.de 12 points 2 years ago* (last edited 2 years ago) (1 children)
    [–] AceFuzzLord@lemm.ee 3 points 2 years ago* (last edited 2 years ago) (1 children)

    I got VIM (possibly NeoVIM, I don't recall) on a thumb drive a few weeks back for an assignment for one of my college courses because I can't install anything on the college library computers and it threw me off because I had no experience with it before then. Thank goodness for the Internet knowing what to do because I had absolutely no idea how to do just about anything in it.

    [–] fraydabson@sopuli.xyz 3 points 2 years ago

    I’ve recently made the choice to switch to neovim as my main terminal editor and I like it. Even doing coding in it. But bigger projects I still use vs code.