yazi: quick-folder plugin
This commit is contained in:
parent
6ba3ec800f
commit
8d24bc9d9d
4 changed files with 87 additions and 0 deletions
20
home.nix
20
home.nix
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue