AutoYADM commit: 2025-02-12 12:50:06

This commit is contained in:
Daniel Fichtinger 2025-02-12 12:50:06 -05:00
parent 603f754475
commit 2cd3272dac
4 changed files with 28 additions and 2 deletions

View file

@ -2,3 +2,4 @@ require("custom-shell"):setup({
history_path = "default",
save_history = true,
})
require("git"):setup()

View file

@ -60,9 +60,15 @@ prepend_keymap = [
"g",
"i",
], run = "plugin lazygit", desc = "run lazygit" },
{ on = "<A-y>", run = [
"plugin copy-file-contents",
], desc = "Copy contents of file" },
{ on = [
"c",
"r",
], run = "plugin path-from-root", desc = "Copies path from git root" },
]
[input]
prepend_keymap = [
{ on = "l", run = "forward --end-of-word", desc = "Move forward to the end of the current or next word" },

View file

@ -43,6 +43,16 @@ use = "AnirudhG07/plugins-yazi:copy-file-contents"
rev = "524c52c"
hash = "27c50e6bc15c09096505b805b238ade0"
[[plugin.deps]]
use = "aresler/path-from-root"
rev = "68277d2"
hash = "ada10d1213f2117878e0fd90df708619"
[[plugin.deps]]
use = "yazi-rs/plugins:git"
rev = "8945e54"
hash = "771f18427fb75fb19990ce602bb322f4"
[[flavor.deps]]
use = "ashen-org/ashen:ashen"
rev = "ded1f4e"

View file

@ -17,3 +17,12 @@ extract = [
{ run = 'ouch d -y "%*"', desc = "Extract here with ouch", for = "windows" },
{ run = 'ouch d -y "$@"', desc = "Extract here with ouch", for = "unix" },
]
[[plugin.prepend_fetchers]]
id = "git"
name = "*"
run = "git"
[[plugin.prepend_fetchers]]
id = "git"
name = "*/"
run = "git"