From df70ebbe188646c5ba092bfafbb6ad2ceb2b6efc Mon Sep 17 00:00:00 2001 From: Patrick Neff Date: Wed, 7 Aug 2024 12:05:34 +0200 Subject: [PATCH] add undotree keybind --- modules/nixvim/plugins/undotree.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/nixvim/plugins/undotree.nix b/modules/nixvim/plugins/undotree.nix index a361441..a6f0c71 100644 --- a/modules/nixvim/plugins/undotree.nix +++ b/modules/nixvim/plugins/undotree.nix @@ -1,3 +1,12 @@ { plugins.undotree.enable = true; + keymaps = [ + { + key = "u"; + action = "UndotreeToggle"; + options = { + silent = true; + }; + } + ]; }