Yazi : Add D to delete without confirmation.

This commit is contained in:
Dmitry Voronin 2024-09-04 04:14:52 +03:00
parent b9b986aca2
commit eb750fb356
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -1,11 +1,18 @@
{ pkgs, ... }: {
file = (pkgs.formats.toml {}).generate "YaziKeymapConfig" {
manager = {
prepend_keymap = [{
on = "d";
run = "remove --permanently";
desc = "Dangerous life.";
}];
prepend_keymap = [
{
on = "d";
run = "remove --permanently";
desc = "Dangerous life.";
}
{
on = "D";
run = "remove --permanently --force";
desc = "Dangerous life.";
}
];
};
};
}