mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-16 19:22:00 -05:00
35 lines
749 B
Nix
35 lines
749 B
Nix
{
|
|
plugins.undotree = {
|
|
enable = true;
|
|
settings = {
|
|
autoOpenDiff = true;
|
|
focusOnToggle = true;
|
|
CursorLine = true;
|
|
DiffAutoOpen = true;
|
|
DiffCommand = "diff";
|
|
DiffpanelHeight = 10;
|
|
HelpLine = true;
|
|
HighlightChangedText = true;
|
|
HighlightChangedWithSign = true;
|
|
HighlightSyntaxAdd = "DiffAdd";
|
|
HighlightSyntaxChange = "DiffChange";
|
|
HighlightSyntaxDel = "DiffDelete";
|
|
RelativeTimestamp = true;
|
|
SetFocusWhenToggle = true;
|
|
ShortIndicators = false;
|
|
};
|
|
};
|
|
|
|
keymaps = [
|
|
{
|
|
mode = "n";
|
|
key = "<leader>ut";
|
|
action = "<cmd>UndotreeToggle<CR>";
|
|
options = {
|
|
silent = true;
|
|
desc = "Undotree";
|
|
};
|
|
}
|
|
];
|
|
}
|