8 comments

[ 3.6 ms ] story [ 41.2 ms ] thread
Or, you could just do the following.

    ## Ctrl-z (suspend current application)
    $ kill -9 %1
    
That assumes you want to lose your changes which I suspect is okay in this situation since it's 'Howto Quit..' not 'Howto do Make Changes, Write, and Quit...'
hey nice trick to reference background tasks!

Thanks for sharing

Vi and Vim are very different in this regard: (Most versions of?) vim shows how to quit both on start and when pressing ^C.
this assumes that the content is unchanged or already saved for every case.
:q! if there are changes to discard in vim.