On Mon, Oct 23, 2023 at 7:53 PM Christian Castro <christian.cas...@dlhcorp.com> wrote: > > Hello vim_use Group, > > > I recently upgraded VIM 8.0 to the new 9.0 version that was out at that time > for Windows. > I want to know where VIM stores the path for the _vimrc file. > > See I'm not sure which copy of the _vimrc file the VIM program is using. > I've looked at the C:\Program Files(x86)\Vim\_vimrc file and that's not it. > The program kept the user customization so it must be using a _vimrc file > from somewhere. But where? > > Is there a config file in Vim that tells me path it's looking for when it > goes to find the _vimrc file? > Please assist. > > > Thanks
In any Vim version, the :scriptnames command will tell you the pathfilenames of all the Vim scripts actually sourced in this instance of Vim since it started. The vimrc should be at (or very near) the top of the list, unless either it was not found, or it was disabled by means of -u NONE on the command-line. Also, in the middle part of the :version command, the config files (vimrc etc.) which were defined at compile-time are listed, but they can be suppressed, or other files can be used instead, by means of command-line parameters. Best regards, Tony. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAJkCKXvDPOdnmDwH-53B1JaEv1u9%3DFWw29eP_nUg-euC31eHsw%40mail.gmail.com.