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

前端 未结 8 1860
野趣味
野趣味 2021-02-12 10:04

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:

g To the extent p         


        
8条回答
  •  误落风尘
    2021-02-12 10:38

    Strange enough, but it works for me. I created a ~/.vimrc file:

    syntax on   
    set background=dark
    

    The 2nd option disable the bug.

提交回复
热议问题