Is it possible to configure vim to follow symlinks via gf
?
For example, suppose I have a file foo.txt
and a symlink bar
in the same directory. I'd like to be able to edit the file bar
points to by gf
'ing over the word 'bar' in foo.txt
.
More generally, I'd like to be able to use find
and other path-using commands as though the actual files were in the same directory as the file I'm editing. I'll settle for a working gf
though.