this post was submitted on 27 Dec 2023
152 points (75.5% liked)

linuxmemes

20437 readers
1572 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] youngGoku@lemmy.world 6 points 7 months ago (6 children)

Why do so many people prefer :wq over :x?

[–] EuroNutellaMan@lemmy.world 12 points 7 months ago

Cause I don't like to think about my x

[–] rwhitisissle@lemmy.world 6 points 7 months ago

Because :wq to me means "Issue command write, followed by command quit." "Issue command x" to me means nothing in the context of vim, and ctrl + x on most systems is reserved for cutting, so it just "feels" wrong.

[–] lars@lemmy.sdf.org 4 points 7 months ago

:x was a gamechanger. And it doesn’t update the file’s modify date if you made no changes.

Sometimes I just sit back and think about all that saved time and effort so much that I have actually lost time by switching from :wq.

[–] superbirra@lemmy.world 1 points 7 months ago
[–] AVincentInSpace@pawb.social 1 points 7 months ago

same reason I prefer :wq to ZZ. muscle memory.

[–] miningforrocks@lemmy.ml 1 points 7 months ago

There is a other option?