This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Invoking Cygwin vim from Windows Explorer


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]