Was watching a twitch streamer learning linux, and chat convinced them to open vim for the first time. Not a single person gave the real answer of how to exit, all joke answers like "Power off," and it was hilarious.
It's really not that bad. [ESC] :wq Escape to exit input mode and enter command mode, then the command indicator :w for write and q for quit. To quit without writing force it with :q!. Done.
:x will save and exit. The difference between :x and :wq is that the latter will always write to the buffer, while the former will only do so if theres a change.
That's what everyone who starts learning it does. Then you.jjjj websites or :wq documents, and eventually end up installing vim-like plugins for everything
I have the feeling these editors only make sense on US keyboards. Like ":" for what? This is not a primary sign anywhere, why not just control like a normal person, working on every keyboard?
I shouldn't really have to look up the instruction manual of a text editor to do a simple action like close the program. Every single other text editor I've ever used was intuitive enough to get started right away, going back to 1989.
If it's not intuitive enough then don't use it and don't open it. You can always close with Ctrl+z and then kill it. Or close a terminal window like any other intuitive editor.
Once you get used to it, it can be a dang powerful tool. For people doing a lot of config-wrangling on the CLI (i.e. admins working a lot ovet SSH), overcoming the learning curve will pay dividends.
If you're working mostly locally and in a GUI environment environment, it's probably not worth it - there's a reason most devs use more specialized IDE's.
Nowadays it's easy when you open vim inside gnome terminal, in my old offline noob days it was like "oh shit my terminal is locked" and the way out was either Alt+F2 and then try again or Ctrl+Z; pkill %1.
I never caught the vim bug and started with using joe and switched to nano later, I played with Emacs for some time but ended up using a GUI editor instead.
I got VIM (possibly NeoVIM, I don't recall) on a thumb drive a few weeks back for an assignment for one of my college courses because I can't install anything on the college library computers and it threw me off because I had no experience with it before then. Thank goodness for the Internet knowing what to do because I had absolutely no idea how to do just about anything in it.
I’ve recently made the choice to switch to neovim as my main terminal editor and I like it. Even doing coding in it. But bigger projects I still use vs code.