{ lib, ... }: {
my.nvim.snacks.setupArgs = {
picker = {
sources = {
git_status = {
# Normal mode as the default mode
on_show = lib.generators.mkLuaInline ''function() vim.cmd.stopinsert() end'';
matcher.sort_empty = true;
sort.fields = [ "file" "idx" ];
win.input.keys = {
C = lib.generators.mkLuaInline ''{ "git_commit", desc = "Commit" }'';
};
};
};
};
};
}