Ngô Quốc Huy
New member
How do I save changes in vim and exit?
Answer
To save a file and exit Vim:
Answer
To save a file and exit Vim:
- Switch to command mode by pressing the ESC key.
- Press : (colon) to open the prompt bar in the bottom left corner of the window.
- Type x after the colon and hit Enter. This will save the changes and exit.