🖊️ vim error quit
Sometimes you need to quit editor with error code. It happens not so often and the most notable situation is when you need to somehow abort git-committing at “write your message” stage. Here you can manually kill your editor’s instance or, in case of using vim, enter :cq
(link). Finally I don’t have to kill my vim instance manually.
Also take a look on the other notes: