I am editing a file which lives in a directory that is a symlink to another directory, i.e.% ls -alh ~/www/experiments total 0drwxr-xr-x 3 ubuntu ubuntu  80 Dec  5 19:52 .drwxr-xr-x 3 ubuntu ubuntu  60 Dec  8 16:25 ..lrwxrwxrwx 1 ubuntu ubuntu   8 Dec  5 19:52 tmp -> /tmp/webso when I am editing the file:~/www/experiments/tmp/webpage.phpBecause the parent folder of webpage.php ( tmp ) is pointing to /tmp/webwhen I run the vimscript commandecho expand('%:p')vim will echo the real file path, i.e./tmp/web/webpage.phphow can I make vim expand the symlinked path in vimscript? i.e. the desired output would be:/home/ubuntu/www/experiments/tmp/webpage.php    I've looked in :h filename-modifiers and there doesn't seem to be anything about symlinks. Also looked at functions like resolve() - unfortunately I think resolve() does the opposite of what I want, it produces the real file path. 
How can I expand a symlinked file path instead of the real file path?
vimscript