public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* vim 7.4.838 doesn't source system wide config file
@ 2015-09-17  9:38 Fabio Rossi
  0 siblings, 0 replies; only message in thread
From: Fabio Rossi @ 2015-09-17  9:38 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-09-17  9:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-17  9:38 vim 7.4.838 doesn't source system wide config file Fabio Rossi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).