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:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=MU7vmmOxWsXkhLlcSpsPdhbreSTkG x27FuFSwGfg+5dkYJT89z8QJut2R8hXmsKQoFauE0WhIrpZ33qHFVuWcgNSvVgwH 3KOp2EH/Q6f/4QfOHl7EmyqFIuXI+fQIumIuOFFekZ8k97ZUw1/+uAfDgj2QPZt+ cdEo8oYJuCOsBQ= 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:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=YFPSvL4p0rafTkXHG3Rl722H2fA=; b=Xc9 87YfLGGJwfrmsu51wYfYQvHgxTfV/dBIAqOC3aQLnuQG89fK1liVxdPs1Me0c8Dx 4BThcIKdR3zWWADCT4QnD/cPlnvdM6CIl54ccOAv/rYrlo1hHVKMEBOYZbh3h1c8 6vrlZKvd4crYVpuS0KygTbVgiel+yMK0rl2+aDqM= 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=-1.9 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: nihxway6out.hub.nih.gov X-IronPortListener: Outbound_SMTP X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgUFABP6+FKcKEev/2dsb2JhbABZgww4V78+gREWdIImAQEEEhUTRAsCAQgNFRQQHxMXAQ0CBAEaGodjnnWqexeOTDiDJIEUBI5jkDiLMYMtgio From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" To: carolus , "cygwin AT cygwin DOT com" Subject: RE: Invoking Cygwin vim from Windows Explorer Date: Mon, 10 Feb 2014 16:14:43 +0000 Message-ID: <5F8AAC04F9616747BC4CC0E803D5907D0C47D419@MLBXv04.nih.gov> References: <1527769059 DOT 20140209090943 AT mtu-net DOT ru> <832507782 DOT 20140209183702 AT mtu-net DOT ru> <1935757972 DOT 20140210000737 AT mtu-net DOT ru> <1917455121 DOT 20140210021657 AT mtu-net DOT ru> <1798057018 DOT 20140210054916 AT mtu-net DOT ru> In-Reply-To: Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s1AGFEC2001935 My suggestion was not an exact recipe, it was just a scheme. Here the exact step-by-step procedure. I've checked it works on my Windows 7 box. From the Windows "Start" menu, in the Search box at the bottom (formerly called "Run") enter (substitute with whatever ID you are going by on that Windows system): C:\Users\\AppData\Roaming\Microsoft\Windows\SendTo In the opened Explorer window, right click on unoccupied space on the right hand pane, select "New"->"Shortcut". As prompted for "Location", enter (I assume your Cygwin installation is at C:\cygwin): C:\cygwin\bin\mintty.exe -e C:\cygwin\bin\bash.exe -l /bin/vim.sh click "Next", when prompted for the name, enter "Vim", close the dialog with "Finish". In Cygwin's window: > cd /bin > cat < chmod a+x vim.sh Now you can check whether it work by going to C:\cygwin\ in Windows Explorer, right-clicking Cygwin.bat, and using "Send To" with "Vim". HTH, Anton Lavrentiev Contractor NIH/NLM/NCBI -- 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