The issue for me is that sometimes I need to SSH into soem server and maybe check crontab and surprise vim opens, then I need to google again how to exit from vim.
You can press Ctrl+C and it should give you a message reminding you how to quit.
I just google to be safe and not have the content changed by mistake. Because is not happening often I always forget the details so I am never 100% sure of the correct way.