feat(yazi): add some descriptions and bindings.

This commit is contained in:
CronyAkatsuki 2025-11-06 21:53:01 +01:00
parent 89f62d51c3
commit 220b28ad29

View file

@ -130,14 +130,17 @@
{ {
on = "K"; on = "K";
run = "plugin parent-arrow -1"; run = "plugin parent-arrow -1";
desc = "Move directory without leaving cwd in parent directory";
} }
{ {
on = "J"; on = "J";
run = "plugin parent-arrow 1"; run = "plugin parent-arrow 1";
desc = "Move directory without leaving cwd in parent directory";
} }
{ {
on = ["g" "r"]; on = ["g" "r"];
run = "shell -- ya emit cd \"$(git rev-parse --show-toplevel)\""; run = "shell -- ya emit cd \"$(git rev-parse --show-toplevel)\"";
desc = "Go to root of git repository";
} }
{ {
on = ["c" "m"]; on = ["c" "m"];
@ -154,6 +157,16 @@
run = "plugin mount"; run = "plugin mount";
desc = "Manage mounting disks"; desc = "Manage mounting disks";
} }
{
on = ["g" "c"];
run = "cd ~/repos/nixos";
desc = "Go ~/repos/nixos";
}
{
on = ["g" "d"];
run = "cd ~/downs";
desc = "Go ~/downs";
}
]; ];
}; };
}; };