When mapping the char "g" in any way to another char in my .vimrc, and opening a file afterwards, the file gets modified. Reproducible: Always Steps to Reproduce: 1. Backup you .vimrc 2. Create new. vimrc just conaining the line "map g i" 3. Save and close vim 4. Open an existing file Actual Results: In the beginning of the first line the String '" appears Expected Results: The file should be opened as it is. You can also use other commands that map g e.g. set langmap=gi or an equivalent. When you delete (move away) /etc/vim/vimrc , the Problem disappears. This is why I believe, this Bug is Gentoo-Specific. Unfortunately I am just new to vim and don't really understand what happens in /etc/vim/vimrc but this is definitely the place to start looking for this error.
Hi! Can you reproduce this with Vim 8.0?