You are viewing a single thread.
View all comments
50 points

If you wanna save changes: :wq

If not: :q!

Else: :SpanishInquisition

permalink
report
reply
6 points

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

permalink
report
parent
reply
12 points

Cause I don’t like to think about my x

permalink
report
parent
reply
5 points

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.

permalink
report
parent
reply
4 points

: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.

permalink
report
parent
reply
1 point

There is a other option?

permalink
report
parent
reply
1 point

why not?

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
6 points

Hmm, I didn’t expect that last one.

permalink
report
parent
reply
3 points

I did not expect the Spanish inquisition!

permalink
report
parent
reply
1 point

help! i wanna leave!
:wq
why isn’t it working???

permalink
report
parent
reply
2 points

You have been chosen by the Vim Dommy Mommy. You cannot leave.

permalink
report
parent
reply

linuxmemes

!linuxmemes@lemmy.world

Create post

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 members of the community for any reason.
  • 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.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
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. Even if you watch it on a Linux machine.
4. No recent reposts
  • Everybody uses Arch btw, can’t quit Vim, and wants to interject for a moment. You can stop now.

Please report posts and comments that break these rules!

Community stats

  • 6.6K

    Monthly active users

  • 1.3K

    Posts

  • 69K

    Comments