When I open a file, eg vim .bashrc, vim opens the file and change the first letter to g. What I see is the following:
vim .bashrc
g
g To the extent p
I had the exact same problem
I found out it was a bug in my ssh client (mobaXterm).
Updating (to mobaXterm 'personal edition v9.1') resolved the issue.