Yazi plugin to copy file path relative to where yazi was started.
Find a file
2025-12-16 21:27:36 +09:00
LICENSE added README and LICENSE 2025-12-16 21:17:41 +09:00
main.lua feat: support hovered items 2025-12-16 20:54:04 +09:00
README.md fix: add docs on setup function 2025-12-16 21:27:36 +09:00

relative-path.yazi

Yazi plugin to copy file path relative to where yazi was started.

Installation

ya pkg add qwjyh/relative-path

Usage

Add following to init.lua:

require("relative-path").setup {}

Modify keymap.toml to run plugin relative-path. For example:

[mgr]
append_keymap = [
    { on = [
        "c",
        "r",
    ], run = "plugin relative-path", desc = "Copy relative path from the started path" },
]

Options

Following options are available in setup function.

  • notify(bool): Notify the copied path.