this post was submitted on 20 Nov 2023
354 points (88.0% liked)

linuxmemes

20897 readers
541 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
[โ€“] erev 2 points 10 months ago (1 children)

:x will save and exit. The difference between :x and :wq is that the latter will always write to the buffer, while the former will only do so if theres a change.

[โ€“] [email protected] 2 points 10 months ago

Sup. And ZZ is like :x, write only if change was made.