James Kanze wrote:
I'm encountering a somewhat strange behavior when using gvim on
Windows.  Basically, if I'm in the directory
C:\dev\svn\cal\ifg-record-2\Source, and invoke:

    /c/Program\ Files/Vim/vim72/gvim 'C:\dev\svn\cal\ifg-
record-2\Source\Model\Vasicek.h'

(from the Cygwin bash shell, /c has been mounted to refer to
c:.), when I enter vim, the directory has changed to
C:\dev\svn\cal\ifg-record-2\Source\Model.  The directory is not
changed if I pass in a relative path, if I use / instead of \ in
the filename, or if there's more than one filename (even if both
are in the same directory).

I'm wondering if this is intentional, and if so, how can I turn
it off.  (I'm intentionally in the directory one level down, and
the only reason I'm using absolute paths in this case is because
I'm invoking gvim through cyg-wrapper.sh.)
Do you happen to have the acd (autochdir) option set?

:verbose set acd?

(the question mark is part of the command)

Regards,
Chip Campbell

--
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

Reply via email to