mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 17:53:17 +01:00
36 lines
534 B
Nix
36 lines
534 B
Nix
{
|
|
programs.yazi = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
manager = {
|
|
sort_dir_first = true;
|
|
linemode = "mtime";
|
|
|
|
ratio = [
|
|
1
|
|
2
|
|
4
|
|
];
|
|
};
|
|
|
|
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" ];
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|