2009/7/23 Jordi Collell Puig:
>>
>> Ok, well the 'pwd' certainly will be set under normal circumstances
>> with snap 47 so it may be that your rc files are interfering.  Try
>> renaming .vimrc/.gvimrc/.vim temporarily and restarting MacVim.  Then
>> drag e.g. the "Desktop" folder from a Finder window to the MacVim Dock
>> icon and type ":pwd" -- Vim should respond with the current directory
>> (which should be ~/Desktop).  What happens when you try?  Please
>> provide step-by-step details of what you do and how Vim responds,
>> otherwise it is very hard for me to provide any kind of help.
>>
> I had follow your instructions, and when I drop desktop folder to
> macvim dock icon, and see pwd, it points to my home /Users/jordic ....
> If I drop some other folder, always I get the parent folder... Perhaps
> is like dropping a file and get the folder of it

Ok, I can see the problem now -- I'm guessing the last path component
is always stripped before changing the dir.  As a (temporary)
workaround, add the following line to your .vimrc

let g:netrw_keepdir= 0

This causes netrw to change directories as you navigate.

I'll fix this soon enough.

Björn

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to