I hear you 😁. For whatever reason I stuck with the Vim tutorial and did it a few times over the years. Now I’m using the IdeaVIM extension in IntelliJ - that mode system is just sooo powerful. It has a horrible learning curve, yes, but if you manage to stick with it, it pays huge dividends. I probably know, like, 18% of all commands, and it completely changed how I edit files (mostly for coding, but also text).
I remember, back in the day, I asked on IRC how to edit a file in Linux. Someone said vi. Little did I know that in chat someone said, the next question is how do I quit. I asked that exact question. Yes chat erupted.
For people who actually don’t know this, yet: Type :x.
This means “eXit, save any changes”
If you want to leave and discard your changes, type :q!
The :q means “Quit”, without any other instructions. This will warn you if you changed anything, adding ! means “force this command”.
How to quit vim.
Used to use gedit, the found nano and it was awesome. Then found Vim… I RAN back to nano haha
deleted by creator
I hear you 😁. For whatever reason I stuck with the Vim tutorial and did it a few times over the years. Now I’m using the IdeaVIM extension in IntelliJ - that mode system is just sooo powerful. It has a horrible learning curve, yes, but if you manage to stick with it, it pays huge dividends. I probably know, like, 18% of all commands, and it completely changed how I edit files (mostly for coding, but also text).
I remember, back in the day, I asked on IRC how to edit a file in Linux. Someone said vi. Little did I know that in chat someone said, the next question is how do I quit. I asked that exact question. Yes chat erupted.
Just read this book:
For people who actually don’t know this, yet: Type
:x
.This means “eXit, save any changes”
If you want to leave and discard your changes, type
:q!
The
:q
means “Quit”, without any other instructions. This will warn you if you changed anything, adding!
means “force this command”.I vaguely remember pressing Alt+F4 while trying to close vim in a terminal once. It did switch to me login prompt so I thought it worked.