This is the mail archive of the
cygwin
mailing list for the Cygwin project.
vim 7.4.838 doesn't source system wide config file
- From: Fabio Rossi <rossi dot f at inwind dot it>
- To: <cygwin at cygwin dot com>
- Date: Thu, 17 Sep 2015 11:38:53 +0200 (CEST)
- Subject: vim 7.4.838 doesn't source system wide config file
- Authentication-results: sourceware.org; auth=none
- Reply-to: Fabio Rossi <rossi dot f at inwind dot it>
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