mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
7587043310
Makes it easier to see which files are older. When not necessary, `m` can be used to change the linemode.
31 lines
495 B
Nix
31 lines
495 B
Nix
{
|
|
programs.yazi = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
manager = {
|
|
ratio = [ 1 2 4 ];
|
|
sort_dir_first = true;
|
|
linemode = "mtime";
|
|
};
|
|
|
|
preview = {
|
|
tab_size = 4;
|
|
image_filter = "lanczos3";
|
|
max_width = 1920;
|
|
max_height = 1080;
|
|
image_quality = 90;
|
|
};
|
|
};
|
|
|
|
keymap = {
|
|
manager.prepend_keymap = [
|
|
{
|
|
run = "remove --force";
|
|
on = [ "d" ];
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|