Skip to content

aymericbeaumet/vim-symlink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-symlink GitHub Actions

vim-symlink enables to automatically follow the symlinks in Vim or Neovim. This means that when you edit a pathname that is a symlink, vim will instead open the file using the resolved target path.

demo

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

Install with packer:

use { 'aymericbeaumet/vim-symlink', requires = { 'moll/vim-bbye' } }

Install with vim-plug:

Plug 'aymericbeaumet/vim-symlink'
Plug 'moll/vim-bbye' " optional dependency

Note: vim-bbye allows to consistenly wipe buffers without impacting the windows order. Even though a fallback 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.