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
3 points

I did not expect the Spanish inquisition!

permalink
report
parent
reply
5 points

Hmm, I didn’t expect that last one.

permalink
report
parent
reply
6 points

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

permalink
report
parent
reply
1 point

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

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
6 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
1 point

There is a other option?

permalink
report
parent
reply
1 point

why not?

permalink
report
parent
reply
12 points

Cause I don’t like to think about my x

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

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!

Community stats

  • 7.6K

    Monthly active users

  • 1.2K

    Posts

  • 68K

    Comments