Not reading ~/.vimrc

后端 未结 13 2077
借酒劲吻你
借酒劲吻你 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:12

    I had this problem and just added the following to the file ~/.bash_profile:

    alias vim="vim -S ~/.vimrc"
    

提交回复
热议问题