Hi All

Does anyone know how to prevent MacVim from changing the working
directory when a file is dragged onto it from the Finder?

I usually work by opening MacVim via Terminal, using "mvim" from the
root directory of the project I'm working in. Then I use a combination
of ":e ...whatever" and dragging files onto the MacVim window from the
Finder, to open whatever files I want to work on.

Since the 7.3 update, the behaviour when dragging files from the
Finder is quite different. It changes the working directory so that,
if the project is laid out like this;

file1
somedir/file2

...then if I drag file2 onto the MacVim window to edit it, then I
can't do ":e file1" anymore, because the working directory is now
"somedir"

I've tried putting a "set noautochdir" in my .vimrc file, but that
doesn't seem to make any difference.

Thanks in advance

David


-- 
You received this message from the "vim_mac" 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