Yazi : Add D to delete without confirmation.
This commit is contained in:
parent
b9b986aca2
commit
eb750fb356
|
@ -1,11 +1,18 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
file = (pkgs.formats.toml {}).generate "YaziKeymapConfig" {
|
file = (pkgs.formats.toml {}).generate "YaziKeymapConfig" {
|
||||||
manager = {
|
manager = {
|
||||||
prepend_keymap = [{
|
prepend_keymap = [
|
||||||
on = "d";
|
{
|
||||||
run = "remove --permanently";
|
on = "d";
|
||||||
desc = "Dangerous life.";
|
run = "remove --permanently";
|
||||||
}];
|
desc = "Dangerous life.";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
on = "D";
|
||||||
|
run = "remove --permanently --force";
|
||||||
|
desc = "Dangerous life.";
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue