On May 20, 1:31 am, Charles E Campbell Jr <[email protected]> wrote: > JamesKanzewrote: > > 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) No. And the directory doesn't change if I give two filenames (even if they're in the same directory), nor if the filename is relative, nor if I use / instead of \ as a separator. -- James Kanze -- 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
