A yazi mini-plugin to copy file path relative to git root. The target file needs to be in git index.
Clone to yazi/plugins/path-from-root.yazi
and add to yazi/keymap.toml
:
[[manager.prepend_keymap]]
on = [ "c", "r" ]
run = "plugin path-from-root"
desc = "Copies path from git root"