this post was submitted on 19 Aug 2023
794 points (97.3% liked)

linuxmemes

20770 readers
1871 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
[–] forwardvoid@feddit.nl 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.

[–] buedi@feddit.de 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 :-)

[–] Morphit@feddit.uk 1 points 1 year ago