vimcygwinbash

Why vim is changing first letter to g after opening a file


When I open a file, eg vim .bashrc, vim opens the file and changes the first letter to g. What I see is the following:

g To the extent possible under law, the author(s) have dedicated all
# copyright and related and neighboring rights to this software to the
...

I change g back to #, but after loading the file, it's again changed. Happens with multiple files.

Last things I have done were: installing gcc and make.

Why is this happening?

EDIT: My .vimrc file:

set nocompatible
set backspace=indent,eol,start
set number
set tabstop=4
syntax on

Solution

  • So it appers to be a vim issue. So far I gathered only two solutions: