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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding :in-reply-to; q=dns; s=default; b=yRjEFlskL5gHXkxxdhbrZ1GYU5ruT9 tSZZxFKWX43SyUU4n3M5vvHyRfwyJv02Kw1CxsYyvCDhGQqY7iEEqsCQFxM3z5Td dOSdtDHusqtF7dQhCRRN8Pf+liPZ3r3x1J1g5WLtB351Br5jj4Pd/7vTGom9ZPrm H8aCJxugTr7TQ= 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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding :in-reply-to; s=default; bh=Tv+27O29o+LHkrPSS9br9ml4CaA=; b=d9xJ FuW9Rh7ceHNzdnCnRR8cwWTu/rUtyJw2Oy1/6AYDqppAdVAA8eRZjGb1FVaVl2Lx xE5DLlT8JBrON9JIhAokBosoZJ7MsnjRsmFyHha/yxwtZN7tYZpHb/aQ+N2DoFKU 0yuR+Vf/v9Sm5fxEmJMqRfu7QiDsTvg0Sxvbe4w= 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=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: carolus Subject: Re: Invoking Cygwin vim from Windows Explorer Date: Sun, 09 Feb 2014 11:11:43 -0600 Lines: 20 Message-ID: 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=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 In-Reply-To: <832507782.20140209183702@mtu-net.ru> X-IsSubscribed: yes On 2/9/2014 8:37 AM, Andrey Repin wrote: > 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. -- 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