Not reading ~/.vimrc

后端 未结 13 2142
借酒劲吻你
借酒劲吻你 2020-12-07 14:41

I have a ~/.vimrc file that vim doesn\'t seem to be reading. There is a file at /etc/vimrc, and it looks like it is using that one.

My understanding is that the one

13条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-07 15:15

    On OSX 10.8.0 the location of the vimrc file is: /usr/share/vim/vimrc

    I just add my changes to the bottom of the file.

    Of course this has the effect of making the changes for all users. For the life of me I can't seem to figure out how to get it to read ~/.vimrc. This was never an issue for me on 10.6.x

    Anyway this is a quick fix even it is a bit dirty.

    Cheers

提交回复
热议问题