I am trying to make transition from vim to emacs (specifically doom-emacs). I was using term mode and habitually used vim in an attempt to edit another file forgetting that I was inside emacs.
I tried exiting vim with :wq
but :
is taken by evil being interpreted as emacs command, and while ZZ
should work, I don't want my works to be saved in my case.
People recommended me to kill vim outside emacs or exit term mode, and that's working. However, I am wondering whether there's a proper way to exit vim and go back to shell inside emacs term mode.