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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=pSqHkIdhPqSdrNor SSe7DKJoIAO7dJoUMiAyhxWB4kJqTcZDQPIifPr7XAqqH/2PODkFSiJGmPI76W3N l1LDWTraVe70qQlko6ZvzHC7EWt9NFg6e4pZ6lRIi6oVhn1Eki+eUn99NxjNV5Wa 0rDNQXMEFhi1v8q4w8UOikAO6KM= 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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=SySYPNv2Lqe22P3xedmsyB 1okI4=; b=curhOhC4ysF1d3e9YDXMivKAt2pGvxSMhkikMUBtiCl0inrzqRqU7L i6BPz8CTyJO7zSDbqDYccJy//9B3KPnw56qQ3rZM/7DUByvw6BZ9Mx52+muWAaN4 F4QOebWXlt/vDb9Dt5VJXA/aG+67TUOdFczWMJQ76ZhDaCUk5Ca8A= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtpback.ht-systems.ru Date: Mon, 10 Feb 2014 00:07:37 +0400 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <1935757972.20140210000737@mtu-net.ru> To: carolus , cygwin AT cygwin DOT com Subject: Re: Invoking Cygwin vim from Windows Explorer In-Reply-To: References: <1527769059 DOT 20140209090943 AT mtu-net DOT ru> <832507782 DOT 20140209183702 AT mtu-net DOT ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, carolus! >>>>> Is there some configuration that will let me open a text file in Cygwin >>>>> vim by clicking on the file in an Explorer window? >>>> >>>> There's like 5 ways to do it. >>>> What you've tried already and what your results so far? >>>> >> >>> I don't know how to pass the filename and directory from an Explorer >>> left-click to a Cygwin shell script. (I'm not a programmer, just a dumb >>> engineer.) >> >> So, vim or shell script?... >> >> > If there is no simple answer, let's just drop the subject. I'll > continue to open cygwin and cd to the target directory whenever I want > to open a file in vim and happen to be in Explorer. As I said, there's like five different answers. Depends on what you actually want to do. I.e. just make an association to open a file with vi(m). In a usual Windows way. But since you're changing subject back and forth, it's hard to help you. -- WBR, Andrey Repin (anrdaemon AT yandex DOT ru) 10.02.2014, <00:04> Sorry for my terrible english... -- 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