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

前端 未结 8 1861
野趣味
野趣味 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 11:04

    For me, I traced the issue down to the following line:

    set nocompatible
    

    It is found in /usr/share/vim/vim74/debian.vim, which is included from /etc/vim/vimrc with the line runtime! debian.vim

提交回复
热议问题