delorie.com/archives/browse.cgi | search |
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:mime-version:in-reply-to:references:date | |
:message-id:subject:from:to:content-type; q=dns; s=default; b=fk | |
4hoIFbKj2US5q6w7PxWw75F6IhnGA9fbIEbZT64jTBAn21kujNI8rVv5sbvAMJrX | |
CD2MEaoxsEw5RkBcy3X+CPjTPki4bSvi3AaSGoKDCClGTe9njsLgiXA2lCQthE8X | |
2+YRSq4Ji72LQNWaTrKz8nWepWK9IYYzt4sjDtIEg= | |
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:mime-version:in-reply-to:references:date | |
:message-id:subject:from:to:content-type; s=default; bh=3IBcTE2V | |
a4ZaH1WAyE2Su1wYbOc=; b=sr2a9M2VaPbhWKl3xB4afTpsox9xip9xzH1yJ0/P | |
ryz8wI2OvcJCxe4FEz4lhafMsRCB30QRjOrh54m8bjw7HaZ6GCpVfC+4Hc1+IZDe | |
b0xeBx7GIzCtDwN0cmNm7L+L+IZc26w5EdAUMleC1BHwo6pq+yxMlGt7HfbklBZ0 | |
XeM= | |
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=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | mail-we0-f174.google.com |
MIME-Version: | 1.0 |
X-Received: | by 10.180.105.41 with SMTP id gj9mr8175705wib.28.1391990097215; Sun, 09 Feb 2014 15:54:57 -0800 (PST) |
In-Reply-To: | <ld92t1$jr1$1@ger.gmane.org> |
References: | <ld6vd9$jnr$1 AT ger DOT gmane DOT org> <1527769059 DOT 20140209090943 AT mtu-net DOT ru> <ld81nr$im5$1 AT ger DOT gmane DOT org> <832507782 DOT 20140209183702 AT mtu-net DOT ru> <ld8cs9$789$1 AT ger DOT gmane DOT org> <1935757972 DOT 20140210000737 AT mtu-net DOT ru> <ld8s07$cie$1 AT ger DOT gmane DOT org> <1917455121 DOT 20140210021657 AT mtu-net DOT ru> <ld92t1$jr1$1 AT ger DOT gmane DOT org> |
Date: | Sun, 9 Feb 2014 18:54:57 -0500 |
Message-ID: | <CAD8GWstSmrEY7-qSshh=K6wr0oKUg3mi=3FMsU4uee8QWeF7kQ@mail.gmail.com> |
Subject: | Re: Invoking Cygwin vim from Windows Explorer |
From: | Lee <ler762 AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
On 2/9/14, carolus wrote: > On 2/9/2014 4:16 PM, Andrey Repin wrote: > >> Just create a shell link in your personal "Send To..." folder with >> specified >> command. On Windows XP, it is in "%USERPROFILE%/SendTo". Dunno about >> other, >> This way, even though a bit convoluted, allow you to edit ANY file with >> your >> chosen program. Regardless of extension, and even in absence of it, as it >> is >> the case for many traditional shell scripts. > > On Windows 7, %USERPROFILE$ points to my user folder. But I get an > "access forbidden" message if I try to open the SendTo subdirectory from > Explorer. There is no option to right-click and elevate, and I get the > same "access forbidden" message even if I switch to an administrator > account. Strangely, I can open that directory from the command line, but > the only way I know how to create a Windows link is by right-click > drag&drop from the GUI. > >> >>>> >> I.e. just make an association to open a file with vi(m). In a usual >>>> >> Windows way. >>> > The only "usual Windows way" I know is for windows executables. >> Cygwin applications are (surprize!) windows executables > > But not "normal" executables in the sense that they run when you click > on them from Explorer. Somehow you have to get into cmd.exe first. And > then you need to get the path and filename into vim. This is getting > too complicated for a nonprogrammer like myself. I'm surprised this worked, but right click on a .txt file in explorer, select open with, choose program click on "browse", navigate to c:\cygwin\bin (or wherever you installed cygwin), double-click on vi.exe > Probably the subject is best dropped. It is more a Windows problem than > a Cygwin one, and I have been getting by with the clumsy method for the > last ten years. I just thought there might be an easy fix. have you tried http://www.vim.org/download.php installs a windows version of vi that you can put in your path & no nasty cygwin/windows permissions or line endings issues. Regards, Lee -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |