I am trying to commit with vim. I am seeing everywhere that you save the commit by doing <esc> :wq. But I do esc, and once I hit : it seems to go back to edit mode and writes the wq in my commit message.
What am I doing wrong?
But I do esc, and once I hit : it seems to go back to edit mode
It looks like your Vim is in easy mode, emulating other modeless editors. See :help easy.
To quit in this mode, use Ctrl + O followed by :wq Enter. You could also turn off easy mode via :set noinsertmode, and (if you haven't yet given up on Vim) fix the invocation, probably in your Git config (i.e. remove the -y argument from the vim call).
I had the same problem: make sure your keyboard configuration didn't change language.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With