Friday, January 17, 2020

What determines the very first file that Vim will load on startup?

I am using Vim 7.4. I have a file /etc/vimrc, but when I vim a file and run the :scriptnames command, the very first file loaded is ~/.vimrc. 

On another Linux machine I also have Vim 7.4 installed, and when run the vim command and then run :scriptnames, that loads /etc/vimrc.

Where is this loading order determined? 

--
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/827c6d2e-a9ad-44ee-977e-4f4cfd17cb33%40googlegroups.com.

No comments: