vim-symlink
vim-symlink enables to automatically follow the symlinks in Vim. This means that when you edit a pathname that is a symlink, vim will instead open the file using the resolved target path.
Features
- Cross-platform
- Recursive symlinks resolution
vimdiff
support- Allow to create new files in symlinked directories
- Make vim-fugitive behave properly with linked files
Install
I recommend using vim-plug:
Plug 'moll/vim-bbye' " optional dependency
Plug 'aymericbeaumet/vim-symlink'
vim-bbye allows to consistenly wipe buffers without impacting the windows order. Even though a failover is present in vim-symlink (hence avoiding a required dependency), the vim-bbye implementation is more robust and I advise you to leverage it.
Usage
Read more about the usage in the documentation.