yazi: quick-folder plugin

This commit is contained in:
Khaïs COLIN 2025-07-29 17:41:41 +02:00
parent 6ba3ec800f
commit 8d24bc9d9d
Signed by: logistic-bot
SSH key fingerprint: SHA256:3zI3/tx0ZpCLHCLPmEaGR4oeYCPMCzQxXhXutBmtOAU
4 changed files with 87 additions and 0 deletions

View file

@ -336,6 +336,7 @@ in {
rev = "2e8079e4a7f6315de99a5b968ed5fda479f1f39c";
hash = "sha256-wHTR8frrFL3cUD8fvSTO+m/77wQ7auVjTZ1uCTB/UzU=";
};
quick-folder = ./quick-folder.yazi;
};
settings = {
plugin.prepend_previewers = [
@ -347,6 +348,25 @@ in {
# larger rename box
input.rename_offset = [0 1 200 3];
};
keymap = {
mgr.prepend_keymap = [
{
on = ["g" "j"];
run = "cd ~/Johnny.Decimal";
desc = "Go to Johnny Decimal";
}
{
on = "A";
run = "create --dir";
desc = "Create directory";
}
{
on = "b";
run = ["plugin quick-folder"];
desc = "Create directory with name of hovered file and move selected files into it";
}
];
};
};
xsession.windowManager.xmonad = {