add some more plugins
This commit is contained in:
parent
d5c62d938c
commit
45548c8f5f
11 changed files with 440 additions and 24 deletions
20
config/plugins/editor/undotree.nix
Normal file
20
config/plugins/editor/undotree.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
plugins.undotree = {
|
||||
enable = true;
|
||||
settings = {
|
||||
autoOpenDiff = true;
|
||||
focusOnToggle = true;
|
||||
};
|
||||
};
|
||||
keymaps = [
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>ut";
|
||||
action = "<cmd>UndotreeToggle<CR>";
|
||||
options = {
|
||||
silent = true;
|
||||
desc = "Undotree";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue