feat(yazi): add some descriptions and bindings.
This commit is contained in:
parent
89f62d51c3
commit
220b28ad29
1 changed files with 13 additions and 0 deletions
|
|
@ -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";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue