Files
plugins/git.yazi
2024-08-31 12:55:14 +08:00
..
2024-08-31 12:55:14 +08:00
2024-08-31 12:55:14 +08:00

git.yazi

Show Git file changes as linemode in the file list.

Installation

ya pack -a yazi-rs/plugins:git

Setup

Add the following to your ~/.config/yazi/init.lua:

require("git"):setup {
}

And register it as fetchers in your ~/.config/yazi/yazi.toml:

[[plugin.prepend_fetchers]]
id   = "git"
name = "*"
run  = "git"

[[plugin.prepend_fetchers]]
id   = "git"
name = "*/"
run  = "git"