Repository navigation
v0.1.0
First release of yank-path.nvim — a complete refactor of yank-file-path.nvim around a single picker-driven command.
Highlights
- New
:YankPathcommand (works in normal and visual mode) - Backend-agnostic picker: fzf-lua, snacks.nvim, vim.ui.select (auto-detected)
- Four built-in path strategies:
ffilename,aabsolute,rrelative N-up,pproject-root - Pluggable strategy registry via
register_strategy() - Automatic visual-mode range appending (
path:start-end) - Configurable destination register (defaults to
+) - Lazy, per-directory cached project-root lookup with user-overridable resolver
- No default keymaps — bind whatever you prefer
Breaking changes from yank-file-path.nvim
All legacy commands (YankRelativeFilePath, YankAbsoluteFilePath, etc.) and the <leader>y* default keymaps are removed. See README for the new API.
Documentation
README.md— usage, configuration, custom strategiesdoc/yank-path.txt—:help yank-pathRELEASING.md— release runbook