• forwardvoid@feddit.nl
    link
    fedilink
    arrow-up
    4
    ·
    1 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.