delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/09/12:35:42

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=fVbWpxoIRD/0cLX9zfBCLBgueL2/r
Ih9hOfXHwmgVc4uTw/RlziZ3BBgXRPSf8VxL/dQ0gvmbjlfqzgaw2M+kX/HcMI9k
Hnl2ZlS1XSBK8om18Nhpm+hDDC3vW0Op90RyQOPMT5jFf0lFVBJwVQ8CMnxV4ejd
i37/Inm0vSk12k=
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=mfijNpY3xOipEKg2jvUJNbQ+mbk=; b=o/x
Grvzjd//kjlp+n3dlzRaBSpNh1UGdI5Cz4Ye0Z+UmLpmRoSUV5QAT9IINW/iVrgS
yEWx+RCfu5MeJlSNauV1No7qmoM3on4VzUfVYt2NmVC9ux2iphcPN/EhMO3kRoMg
3AJhKFpJXz+tIvH/xF9mXe8K1oHwMNvuGNQMYnC4=
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=-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: nihxway3out.hub.nih.gov
X-IronPortListener: Outbound_SMTP
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AikFABm891KcKEeq/2dsb2JhbABZgww4V79BgQYWdIIlAQEBAwESKEQLAgEIDRUUEB8TFwENAgQbGodbCJ1hqkwXjkw4gySBFASOY5A4izGDLYIq
From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr AT ncbi DOT nlm DOT nih DOT gov>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: Invoking Cygwin vim from Windows Explorer
Date: Sun, 9 Feb 2014 17:35:16 +0000
Message-ID: <5F8AAC04F9616747BC4CC0E803D5907D0C47CF57@MLBXv04.nih.gov>
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>
In-Reply-To: <ld8cs9$789$1@ger.gmane.org>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s19HZcln031476

> If there is no simple answer,

Maybe not as simple, but...

What about adding a "Vim" destination to your "Send To..." folder
under your Windows profile?

The target command can be something like:

C:\cygwin\bin\mintty.exe -e c:\cygwin\bash.exe -c C:\cygwin\bin\vim.sh

Where vim.sh is something like this:

#! /bin/sh
vim -- "`cygpath -u $1`"

This way you can right-click on the file, select "Send To", then "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


- Raw text -


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