summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/undotree.lua
diff options
context:
space:
mode:
authormoxie <moxie.git@posteo.net>2025-09-30 12:27:44 +0300
committermoxie <moxie.git@posteo.net>2025-09-30 12:27:44 +0300
commit1e27d1c7b25e4d28a25c0fa2c4e6e33a66b9072e (patch)
tree7169509b4d5dfce3ed25fe333cc506a40f5c90f2 /.config/nvim/lua/plugins/undotree.lua
parent51797f743fe74d1723ca62085f92e8c5e953038b (diff)
add nvim configs
Diffstat (limited to '.config/nvim/lua/plugins/undotree.lua')
-rw-r--r--.config/nvim/lua/plugins/undotree.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/undotree.lua b/.config/nvim/lua/plugins/undotree.lua
new file mode 100644
index 0000000..8a416b1
--- /dev/null
+++ b/.config/nvim/lua/plugins/undotree.lua
@@ -0,0 +1,8 @@
+return {
+ "mbbill/undotree",
+ lazy = true,
+ cmd = { "UndotreeToggle" },
+ keys = {
+ { "<leader>u", vim.cmd.UndotreeToggle, desc = "Toggle undotree" },
+ },
+}