Skip to content

v0.1.0

Choose a tag to compare

@neumachen neumachen released this 30 May 03:37
· 2 commits to main since this release
7727d3a

First release of yank-path.nvim — a complete refactor of yank-file-path.nvim around a single picker-driven command.

Highlights

  • New :YankPath command (works in normal and visual mode)
  • Backend-agnostic picker: fzf-lua, snacks.nvim, vim.ui.select (auto-detected)
  • Four built-in path strategies: f filename, a absolute, r relative N-up, p project-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 strategies
  • doc/yank-path.txt — :help yank-path
  • RELEASING.md — release runbook