✨ feat(yazi): add new plugin: git integration
This commit is contained in:
parent
10881d2f87
commit
cd9b2ec5ac
4 changed files with 14 additions and 0 deletions
1
.config/yazi/.github/README.md
vendored
1
.config/yazi/.github/README.md
vendored
|
@ -30,6 +30,7 @@ The plugins I'm using are the following:
|
||||||
- [fg](https://gitee.com/DreamMaoMao/fg.yazi)
|
- [fg](https://gitee.com/DreamMaoMao/fg.yazi)
|
||||||
- [smart-filter](https://github.com/yazi-rs/plugins/tree/main/smart-filter.yazi)
|
- [smart-filter](https://github.com/yazi-rs/plugins/tree/main/smart-filter.yazi)
|
||||||
- [hide-preview](https://github.com/yazi-rs/plugins/tree/main/hide-preview.yazi)
|
- [hide-preview](https://github.com/yazi-rs/plugins/tree/main/hide-preview.yazi)
|
||||||
|
- [git](https://github.com/yazi-rs/plugins/tree/main/git.yazi)
|
||||||
|
|
||||||
The added keymaps are located on [this file](../keymap.toml).
|
The added keymaps are located on [this file](../keymap.toml).
|
||||||
|
|
||||||
|
|
|
@ -179,3 +179,5 @@ require("yatline-githead"):setup({
|
||||||
unstaged_color = catppuccin_palette.yellow,
|
unstaged_color = catppuccin_palette.yellow,
|
||||||
untracked_color = catppuccin_palette.pink,
|
untracked_color = catppuccin_palette.pink,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
require("git"):setup()
|
||||||
|
|
|
@ -6,6 +6,7 @@ deps = [
|
||||||
{ use = "imsi32/yatline-githead", rev = "2f2b000" },
|
{ use = "imsi32/yatline-githead", rev = "2f2b000" },
|
||||||
{ use = "yazi-rs/plugins:smart-filter", rev = "b659791" },
|
{ use = "yazi-rs/plugins:smart-filter", rev = "b659791" },
|
||||||
{ use = "yazi-rs/plugins:hide-preview", rev = "b659791" },
|
{ use = "yazi-rs/plugins:hide-preview", rev = "b659791" },
|
||||||
|
{ use = "yazi-rs/plugins:git", rev = "118ae4d" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[flavor]
|
[flavor]
|
||||||
|
|
|
@ -72,3 +72,13 @@ rules = [
|
||||||
|
|
||||||
{ mime = "*", use = "fallback" },
|
{ mime = "*", use = "fallback" },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[plugin.prepend_fetchers]]
|
||||||
|
id = "git"
|
||||||
|
name = "*"
|
||||||
|
run = "git"
|
||||||
|
|
||||||
|
[[plugin.prepend_fetchers]]
|
||||||
|
id = "git"
|
||||||
|
name = "*/"
|
||||||
|
run = "git"
|
||||||
|
|
Loading…
Add table
Reference in a new issue