This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Invoking Cygwin vim from Windows Explorer
- From: carolus <worwor at bellsouth dot net>
- To: cygwin at cygwin dot com
- Date: Sun, 09 Feb 2014 22:44:42 -0600
- Subject: Re: Invoking Cygwin vim from Windows Explorer
- Authentication-results: sourceware.org; auth=none
- 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> <1798057018 dot 20140210054916 at mtu-net dot ru>
On 2/9/2014 7:49 PM, Andrey Repin wrote:
Greetings, carolus!
Just create a shell link in your personal "Send To..." folder with specified
command. On Windows XP, it is in "%USERPROFILE%/SendTo".
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.
It's likely a symlink... Let me find my netbook.
It's in "%AppData%/Microsoft/Windows/SendTo"
I've finally tracked it down on my Windows 7 computer to
/cygdrive/c/Users/cdr/AppData/Roaming/Microsoft/Windows/SendTo
.> Just make a copy of default Cygwin shortcut in SendTo, and edit it's
command line to suit your needs.
Did that. In the shortcut properties, I followed Anton (with slight
modification, since I routinely put my own stuff in /usr/local) to enter
in the "target" field
C:\cygwin\bin\mintty.exe -e c:\cygwin\bin\bash.exe -c
C:\cygwin\usr\local\bin\vim.sh
with the vim.sh that he suggests.
Right-click and "Send To" now briefly flashes a Cygwin console but then
immediately closes it.
--
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