this post was submitted on 19 Aug 2023
813 points (97.2% liked)

linuxmemes

20761 readers
1737 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] 5 points 1 year ago (2 children)

:x also writes (same as :wq). :q! is force quit. If you accidentally made changes then :q will give an error and :x will write those changes. So :q! Is you safest bet if you need to gtfo.

[–] [email protected] 2 points 1 year ago
[–] [email protected] 1 points 1 year ago

Now that you write it... I use :q! all the time but I did not realize. I guess that is just muscle memory :-)