feat(yazi): enlarge image previews and add four plugins (#469)

Assisted-by: DeepSeek Harness (deepseek-flash)
This commit is contained in:
ryan4yin | 二花 authored and GitHub committed 2026-10-17 12:05:30 +08:00
1 parent d6450d48a2
commit 6c083dbf27
1 file changed
+52
+52
View File
@@ -13,6 +13,58 @@
show_hidden = true;
sort_dir_first = true;
};
preview = {
max_width = 2000;
max_height = 2000;
};
plugin.prepend_fetchers = [
{
url = "*";
run = "git";
group = "git";
}
{
url = "*/";
run = "git";
group = "git";
}
];
};
plugins = with pkgs.yaziPlugins; {
git = {
package = git;
setup = true;
settings = {
order = 1500;
};
};
inherit
jump-to-char
toggle-pane
zoom
;
};
keymap.mgr.prepend_keymap = [
{
on = "=";
run = "plugin zoom 1";
desc = "Zoom in the preview";
}
{
on = "-";
run = "plugin zoom -1";
desc = "Zoom out the preview";
}
{
on = "T";
run = "plugin toggle-pane max-preview";
desc = "Maximize or restore the preview";
}
{
on = "F";
run = "plugin jump-to-char";
desc = "Jump to the next file starting with a character";
}
];
};
}