Repository navigation
Releases
vim-symlink v1.0.0
vim-symlink gives a buffer the path of the file its symlink points to. Open a linked dotfile and tools such as vim-fugitive can find its Git repository. The link stays in place and your working directory stays the same.
This first tagged release packages the native Vimscript and Neovim Lua implementations together. Both support symlink chains, splits, tabs, read-only mode, and diff mode. Opening a link to a target you already have open preserves your unsaved edits.
Install
For lazy.nvim, use { 'aymericbeaumet/vim-symlink', tag = 'v1.0.0', lazy = false }. The plugin loads at startup and needs no setup call.
For a native package, extract vim-symlink-1.0.0.zip into ~/.vim/pack/plugins/start/ for Vim or ${XDG_DATA_HOME:-$HOME/.local/share}/nvim/site/pack/plugins/start/ for Neovim. Restart your editor and run :help symlink. The archive includes the plugin, help tags, and MIT license.