this post was submitted on 31 Oct 2025
593 points (98.4% liked)

linuxmemes

27881 readers
203 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
    you are viewing a single comment's thread
    view the rest of the comments
    [–] DmMacniel@feddit.org 20 points 2 days ago (2 children)

    Why wouldn't one use vim? It's a great editor that works under any circumstance.

    [–] cepelinas@sopuli.xyz 3 points 2 days ago (2 children)

    Unless you want to exit it xD

    [–] Devjavu@lemmy.dbzer0.com 2 points 1 day ago

    The likes are the vim users with humor, the dislikes the ones without.

    [–] mostlikelyaperson@lemmy.world 5 points 2 days ago (1 children)

    Esc :q for closing if you didn’t modify anything, :!q for closing and discarding any changes you made and:wq for closing and writing the changes to the file.

    [–] cepelinas@sopuli.xyz 1 points 2 days ago (3 children)

    I was joking I know how to exit because of sudoedit it just feels like it should be on the main screen like nano or atleast ctrl+c should exit.

    [–] not_IO@lemmy.blahaj.zone 1 points 1 day ago (1 children)

    nowadays, if you ctrl+c, vim tells you how to exit

    [–] cepelinas@sopuli.xyz 1 points 1 day ago

    If you had read the other rssponse about basically the same thing you would know that the last time when I accidentally went into vim it didn't show it for me and infact it probably was vim-tiny. I am sorry for sounding condesending.

    [–] expr@programming.dev 5 points 2 days ago* (last edited 1 day ago) (1 children)

    Ctrl-C absolutely should not exit. There's plenty of times you want it in vim to interrupt something in the editor.

    As others have said, it's on the screen if you open vim without a file. Otherwise, it's a tool for people that bother to learn how to use it. As someone who has been using it daily for the last 10 years, I would find it incredibly obnoxious to have a bunch of useless screen clutter telling me basic things that are easily learned.

    [–] cepelinas@sopuli.xyz 0 points 2 days ago (1 children)

    Sorry, I forgot that vim has extensions.

    [–] expr@programming.dev 4 points 2 days ago

    Vim has an entire dedicated scripting language built right into the editor and accessible while editing.

    Even without plugins, sometimes certain things can be too slow and you want to stop them.

    [–] ewenak@jlai.lu 3 points 2 days ago (1 children)

    If you start vim without opening a file it's written on the screen in the beginning. It disappears as soon as you start writing something though.

    [–] cepelinas@sopuli.xyz 1 points 2 days ago (1 children)
    [–] DmMacniel@feddit.org 4 points 2 days ago (1 children)

    Also, when you want to Quit by hitting CTRL+C, VIM will tell you to use !q instead.

    [–] cepelinas@sopuli.xyz 1 points 2 days ago (1 children)

    I tried it just didn't say anything for me, maybe it was an old version?

    [–] This2ShallPass@lemmy.world 3 points 2 days ago

    Perhaps you have vim-tiny installed by default on your distro rather than just vim?

    [–] gandalf_der_12te@discuss.tchncs.de 1 points 1 day ago (1 children)

    idk it just seems complicated, with all the keybindings and i think it even has scripting inside the text editor ... i never bothered to learn it.

    [–] expr@programming.dev 3 points 1 day ago

    It's a tool with a medium-high skill floor and incredibly high skill ceiling. It rewards investment and is something that is able to accommodate one's growth in skills rather than holding them back with limitations like typical editors do. Its built-in scripting is a big part of that and is something that really sets it apart from editors like vscode. And it's much, much faster and lighter weight/less memory-intensive than other editors.