summaryrefslogtreecommitdiff
path: root/.config/nvim/after/plugin/undotree.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/after/plugin/undotree.lua')
-rw-r--r--.config/nvim/after/plugin/undotree.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/nvim/after/plugin/undotree.lua b/.config/nvim/after/plugin/undotree.lua
index a346462..ff5625d 100644
--- a/.config/nvim/after/plugin/undotree.lua
+++ b/.config/nvim/after/plugin/undotree.lua
@@ -1 +1,3 @@
-vim.keymap.set('n', '<leader>u', vim.cmd.UndotreeToggle)
+local lib = require('mango.lib')
+
+lib.remap('n', '<leader>u', vim.cmd.UndotreeToggle)