How to exit Neovim!
The clasic meme, how do I exit Vim?
There are two ways to exit Neovim; both are easy to remember. The first way to leave Neovim is to leave without saving any of the changes, and the second way is to leave while saving the changes.
- Leave without saving - ZQ
- Leave with saving - ZZ
To people who have used Vim-based text editors, this might look strange to you because you are used to using :q and :q! And whilst those do still work, using ZZ and ZQ is way more dynamic and just smoother in the long run.
Back Next