Thursday, July 12, 2012

Re: Cannot use vimdiff when started from cygwin

> is it possible for you to turn off the HTML formatting in whatever client you're using? It isn't translating properly on the Google Groups interface. I don't know what it looks like in an email.

Sorry about that, I am just using the page in google groups to write the message, google groups is doing that by itself.

> You started a native-windows Vim from a cygwin shell. So Vim thinks the shell is whatever cygwin has it set to. However, once the native Vim is running outside of the cygwin environment, none of the cygwin paths are valid anymore. Vim doesn't know how to interpret /cygpath/c or /bin/bash or any of that. Native Windows Vim speaks native Windows file paths.
>
> You MIGHT be able to fix this by setting the 'shell' option, and possibly also 'shellquote', 'shellxquote', and optionally 'noshellslash'. But I'm not sure. Your best bet would be not to call native Windows applications from cygwin.
>
> You might also be able to set 'diffexpr' to a function which will select the correct diff, and also translate the paths passed in by cygwin.
>

I will try this an report later if it works.

thanks.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: