Invoking Cygwin vim from Windows Explorer
Lavrentiev, Anton (NIH/NLM/NCBI) [C]
lavr@ncbi.nlm.nih.gov
Sun Feb 9 17:37:00 GMT 2014
> 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
More information about the Cygwin
mailing list