This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

vim 7.4.838 doesn't source system wide config file


I have created a system wide config file in /etc/vimrc but vim is not sourcing 
it. The same config file works like a charm if I put it into ~HOME/.vimrc

$ vim -V

...
could not source "$VIM/vimrc"
...

It seems to be a difference between vi and vim, the former uses directly /etc 
while the latter refers to $VIM

$ vi --version

...
system vimrc file: "/etc/virc"
fallback for $VIM: "/etc"
..

$ vim --version

...
system vimrc file: "$VIM/vimrc"
fallback for $VIM: "/etc"


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]