From 53b9ed72e517c9ee7fde4c0fbcc7edc224a2dcf9 Mon Sep 17 00:00:00 2001 From: Manuuurino <2855338+manuuurino@users.noreply.github.com> Date: Wed, 10 Apr 2024 19:39:51 +0200 Subject: [PATCH] feat(editing-support): add `undotree` plugin (#863) feat(editing-support): add `undotree` --- .../editing-support/undotree/README.md | 5 +++++ .../editing-support/undotree/init.lua | 19 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 lua/astrocommunity/editing-support/undotree/README.md create mode 100644 lua/astrocommunity/editing-support/undotree/init.lua diff --git a/lua/astrocommunity/editing-support/undotree/README.md b/lua/astrocommunity/editing-support/undotree/README.md new file mode 100644 index 000000000..9906da0f9 --- /dev/null +++ b/lua/astrocommunity/editing-support/undotree/README.md @@ -0,0 +1,5 @@ +# undotree + +The undo history visualizer for VIM + +**Repository:** diff --git a/lua/astrocommunity/editing-support/undotree/init.lua b/lua/astrocommunity/editing-support/undotree/init.lua new file mode 100644 index 000000000..67654c71c --- /dev/null +++ b/lua/astrocommunity/editing-support/undotree/init.lua @@ -0,0 +1,19 @@ +---@type LazySpec +return { + "mbbill/undotree", + cmd = "UndotreeToggle", + dependencies = { + "AstroNvim/astrocore", + ---@type AstroCoreOpts + opts = { + mappings = { + n = { + ["fu"] = { + "UndotreeToggle", + desc = "Find undotree", + }, + }, + }, + }, + }, +}