mirror of
https://github.com/akr2002/nv.git
synced 2024-11-09 18:49:45 +00:00
20 lines
340 B
Nix
20 lines
340 B
Nix
|
{ config, pkgs, host, user, ... }:
|
||
|
{
|
||
|
plugins.undotree = {
|
||
|
enable = true;
|
||
|
autoOpenDiff = true;
|
||
|
settings.FocusOnToggle = true;
|
||
|
};
|
||
|
keymaps = [
|
||
|
{
|
||
|
mode = "n";
|
||
|
key = "<leader>ut";
|
||
|
action = "<cmd>UndotreeToggle<cr>";
|
||
|
options = {
|
||
|
silent = true;
|
||
|
desc = "Undotree";
|
||
|
};
|
||
|
}
|
||
|
];
|
||
|
}
|