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:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- 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
view the rest of the comments
If you wanna save changes: :wq
If not: :q!
Else: :SpanishInquisition
Hmm, I didn't expect that last one.
Why do so many people prefer :wq over :x?
Cause I don't like to think about my x
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.
: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
.same reason I prefer :wq to ZZ. muscle memory.
There is a other option?
why not?
I did not expect the Spanish inquisition!
help! i wanna leave!
:wq
why isn't it working?????
You have been chosen by the Vim Dommy Mommy. You cannot leave.