vimrc cannot be load

22 views
Skip to first unread message

ibear

unread,
Sep 23, 2016, 9:44:30 AM9/23/16
to vim_use
I build a x64 version of vim from git, copy the new gvim.exe to "d:\vim\vim80"(this folder is renamed from my old vim74), create a vimrc of "d:\vim\vim80\vimrc", run gvim.exe, but vimrc can not be load!

But I rename "d:\vim\vim80" to "d:\vim\vim8", run gvim.exe again, now vimrc can be load.

Does anybody have meeted the same problem?

Christian Brabandt

unread,
Sep 23, 2016, 9:46:50 AM9/23/16
to vim_use
Hi ibear!
In gvim do :version and check the path of 1st-3rd user vimrc. Those
should be used.


Best,
Christian
--
"Gratuliere zur Geburt des Stammhalters! Wie geht es dem Kleinen?" -
"Danke, danke - noch zwei Raten an die Hebamme, dann gehört er uns."

Ken Takata

unread,
Sep 23, 2016, 1:07:15 PM9/23/16
to vim_use
Hi ibear,

2016/9/23 Fri 22:46:50 UTC+9 Christian Brabandt wrote:
> Hi ibear!
>
> On Fr, 23 Sep 2016, ibear wrote:
>
> > I build a x64 version of vim from git, copy the new gvim.exe to "d:\vim\vim80"(this folder is renamed from my old vim74), create a vimrc of "d:\vim\vim80\vimrc", run gvim.exe, but vimrc can not be load!
> >
> > But I rename "d:\vim\vim80" to "d:\vim\vim8", run gvim.exe again, now vimrc can be load.
> >
> > Does anybody have meeted the same problem?
>
> In gvim do :version and check the path of 1st-3rd user vimrc. Those
> should be used.

And also try `:echo $VIM` in gvim.
Then, as I wrote in GitHub, read the help (:help $VIM).
Important part is here:
https://github.com/vim/vim/blob/50ba526fbf3e9e5e0e6b0b3086a4d5df581ebc7e/runtime/doc/starting.txt#L1132-L1133

Regards,
Ken Takata

Reply all
Reply to author
Forward
0 new messages