Since vi is one of the few editors included in (almost?) every Unix-like system, I would recommend getting a minimal understanding of the “Command mode” and “Insert” … and how to switch between them … including the :q! (“Quit viwithout saving changes!”)
Basics -
i to Enter Insert Mode, where you enter text
Esc to exit Insert Mode, and enter Command Mode
In Command Mode- :w to Write the document :q to Quit the document :wq to Quit the document, saving changes. :q! to Quit the document, ignoring changes since last write.
I think that this legendary post is one of the clearest guides to using Command Mode in vi.
I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.