From: Fabio Rossi <rossi.f@inwind.it>
To: <cygwin@cygwin.com>
Subject: vim 7.4.838 doesn't source system wide config file
Date: Thu, 17 Sep 2015 09:38:00 -0000 [thread overview]
Message-ID: <246117058.15102281442482733557.JavaMail.httpd@webmail-60.iol.local> (raw)
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
reply other threads:[~2015-09-17 9:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=246117058.15102281442482733557.JavaMail.httpd@webmail-60.iol.local \
--to=rossi.f@inwind.it \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).