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

linuxmemes

20880 readers
2 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
[–] [email protected] 6 points 11 months ago (6 children)

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

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

Cause I don't like to think about my x

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

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

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

There is a other option?

[–] [email protected] 1 points 10 months ago

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