• @forwardvoid@feddit.nl
      link
      fedilink
      51 year ago

      :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.