Welcome to the wonderful world of VIM. :)
I can completely understand the frustration you might be feeling upon finding this site. Its easy though.
<ESC>
:q
and press <ENTER>
q
for quit.I was skeptical at first. I used nano
for most quick edits in the shell and VSCode for all my other development work. But after working through VIM with Vigor from the writers of The Linux Command Line book, I was hooked.
Give it a shot. There’s a lot to learn and its actually a lot of fun.