Is there a possibility to follow a symlink to the directory of the file?

Suppose a symlink K20vdr points to /etc/rc0.d/K20vdr: If the cursor is on the symlink K20vdr in the remote window, I would like to jump (with a custom command?) to the directory /etc/rc0.d and place the cursor on the file K20vdr.