prompter: How to exit vim? assistant: You can exit vim with the following keystrokes:

":q!" To exit without saving changes
":wq" To exit after saving changes (or ":x")
prompter: I just typed ":wq" but now this text is inside my file. How do I use this command correctly?