this post was submitted on 12 Oct 2024
140 points (93.2% liked)

Asklemmy

43940 readers
977 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy πŸ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] davel@lemmy.ml 63 points 1 month ago (1 children)
[–] kionite231@lemmy.ca 40 points 1 month ago (4 children)

There is literally written that :q to exit!

[–] prex@aussie.zone 22 points 1 month ago (2 children)

Wont work if you have unsaved edits or are in insert mode. Escape then :q! will.

[–] pupbiru@aussie.zone 4 points 1 month ago (1 children)

and when typing :q with unsaved edits it literally also says β€œadd ! to override”

[–] prex@aussie.zone 1 points 1 month ago

True.

I tend to use ZZ it ZQ instead. Its been a while.

[–] milicent_bystandr@lemm.ee 3 points 1 month ago

Ooh, living life dangerously.

I would not like to have that as a finger habit!

[–] milicent_bystandr@lemm.ee 13 points 1 month ago

If you read the clues, yes.

[–] DecentM@lemmy.ml 2 points 1 month ago

I typed :q and it just says :q on the bottom, all this advice and I'm still stuck in vim. My electricity bill has been high since 2022 because of this heavy editor with no x button

[–] dQw4w9WgXcQ@lemm.ee 2 points 1 month ago

People who have never had the pleasure of experiencing vim might not realize that the colon is a part of the command and will start recording a macro instead.