mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-24 17:23:09 +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" ];
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|