Skip to content

Commit

Permalink
feat(editing-support): add undotree plugin (#863)
Browse files Browse the repository at this point in the history
feat(editing-support): add `undotree`
  • Loading branch information
manuuurino authored Apr 10, 2024
1 parent eee1a14 commit 53b9ed7
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/astrocommunity/editing-support/undotree/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# undotree

The undo history visualizer for VIM

**Repository:** <https://github.com/mbbill/undotree>
19 changes: 19 additions & 0 deletions lua/astrocommunity/editing-support/undotree/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---@type LazySpec
return {
"mbbill/undotree",
cmd = "UndotreeToggle",
dependencies = {
"AstroNvim/astrocore",
---@type AstroCoreOpts
opts = {
mappings = {
n = {
["<Leader>fu"] = {
"<cmd>UndotreeToggle<CR>",
desc = "Find undotree",
},
},
},
},
},
}

0 comments on commit 53b9ed7

Please sign in to comment.