2023-10-25 22:08:23 +01:00
|
|
|
{
|
|
|
|
empty = {
|
2024-01-29 13:47:19 +01:00
|
|
|
plugins.telescope = {
|
|
|
|
enable = true;
|
|
|
|
extensions.undo.enable = true;
|
|
|
|
};
|
2023-10-25 22:08:23 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
example = {
|
|
|
|
plugins.telescope = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
extensions.undo = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
useDelta = true;
|
|
|
|
useCustomCommand = ["bash" "-c" "echo '$DIFF' | delta"];
|
|
|
|
sideBySide = true;
|
|
|
|
diffContextLines = 8;
|
|
|
|
entryFormat = "state #$ID";
|
|
|
|
timeFormat = "!%Y-%m-%dT%TZ";
|
|
|
|
mappings = {
|
|
|
|
i = {
|
|
|
|
"<cr>" = "yank_additions";
|
|
|
|
"<s-cr>" = "yank_deletions";
|
|
|
|
"<c-cr>" = "restore";
|
|
|
|
};
|
|
|
|
n = {
|
|
|
|
"y" = "yank_additions";
|
|
|
|
"Y" = "yank_deletions";
|
|
|
|
"u" = "restore";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|