X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Date: Fri, 7 May 2010 18:09:54 +0200 (CEST) From: Luc Hermitte To: lood Cc: cygwin AT cygwin DOT com Message-ID: <8358945.15754861273248594484.JavaMail.root@spooler3-g27.priv.proxad.net> In-Reply-To: <28472301.post@talk.nabble.com> Subject: Re: Text editor with shell integration MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Hello, "lood" wrote : > How could I integrate my text editor (e.g. Notepad++) to run > it easily from Cygwin? I mean, something similiar to > "notepad ./file.ext" > this works, I just want to use Notepad++ instead of standard Windows > editor ("notepad++ ./file.ext" or something like that). Where I can > add this functionality? Thanks. I have written cyg-wrapper.sh to answer this need. http://hermitte.free.fr/cygwin/#Win32 The alias I give as example in the documentation is for gvim. If your editor does not have special parameters that must not be handled as pathnames that need translation, you can simply play with $(cygpath -l "$@") as others have already told you. HTH, -- Luc Hermitte http://lh-vim.googlecode.com/ http://hermitte.free.fr/vim/ -- 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