On May 5, 8:37 am, "Ricky" <[email protected]> wrote:
> I usually call gvim of windows to open files under cygwin:
> $gvim ./lib/file
>
> or this:
> $cd lib
> $gvim file
>
> they are different, "gvim ./lib/file" will open the file "./lib/lib/file ",
> the path is wrong,
> but if i change directory to lib, it will work well.
>
> If i remove "set autochdir", both of them work.
>
> Is there any way to solve this?
Yes. Don't use Windows gvim to open files under Cygwin. Use Cygwin Vim
inside Cygwin, and use Windows gvim under Windows.
Windows applications in general don't usually do well with Cygwin
paths; this isn't just a Vim issue.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---