delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/09/17/05:39:14

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:to:subject
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=M47pkI6ROfColIQde0gCOQBL1BmmPZTsa52pEdowIBJAFhjPq5TGj
jixDQQDLkArUafWH4cdRv7j55FyrDPJU4Oodil3Khekt9rWbozvsDem+RScpnacU
tCfyphihISLGNpeqKBcs2/WjUDPrx05lpTrXbuZwWP94evIcDTbGUE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:to:subject
:mime-version:content-type:content-transfer-encoding; s=default;
bh=w9wbWAvNZWNS3bYIcobvk2AYsM4=; b=eys4a6Ip5XeDUiUaa7zm2I/2ujjG
HFT0Bi25QkwP18HzGddD8MAUXf/L3DSEra05zplIyalegsIHGA9G3bqRQB/fbp0A
6qeff22+AwfNEe+I6U1JzsKiT0Ezi7PtQwNdU8zMm3DaIfuLNfIseUj0GfFKYdnB
cQm5CFNvWJYbRUI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=4.5 required=5.0 tests=AWL,BAYES_80,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2
X-HELO: libero.it
x-libjamoibt: 1601
X-CNFS-Analysis: v=2.1 cv=W8XFLkik c=1 sm=1 tr=0 a=ZRowQEUPCKpELX9MJXI7SA==:117 a=UJbNY9I4REUA:10 a=IkcTkHD0fZMA:10 a=BuNYTMFLmJKLjp8BHj4A:9 a=QEXdDO2ut3YA:10
Message-ID: <246117058.15102281442482733557.JavaMail.httpd@webmail-60.iol.local>
Date: Thu, 17 Sep 2015 11:38:53 +0200 (CEST)
From: Fabio Rossi <rossi DOT f AT inwind DOT it>
Reply-To: Fabio Rossi <rossi DOT f AT inwind DOT it>
To: <cygwin AT cygwin DOT com>
Subject: vim 7.4.838 doesn't source system wide config file
MIME-Version: 1.0
X-SenderIP: 140.105.207.242
X-libjamv: ob46OoVmvVE=
X-libjamsun: KBcPPeulLWkTyPTnoJa0PT/lGImPMQHz

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019