Hi,

I'm wondering if there is a command to cd to the dir where the current
open file in. In the case that the file is a symbolic link, I want to
cd to the dir whether the actually file that this symbolic link points
to.

Example:

Suppose A is a symbolic link pointing B, B is a symblic link pointing
to C, and C is a real file not a symbolic link. If vim opens A, I want
a command to change the dir to the one where C is in.

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

Reply via email to