summaryrefslogtreecommitdiff
path: root/.config/nvim/after/plugin/undotree.lua
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-09-12 23:33:16 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-09-12 23:33:16 +0200
commit78d2f88b3207f00cac1d5cbe21e00286dec417e8 (patch)
tree7dc06adbc96bf2cbc7627e5f83a1a5fe9783aa97 /.config/nvim/after/plugin/undotree.lua
parent30543e85eeae846b83146279e18d00da6c8473a4 (diff)
nvim: Move ‘remap()’ to mango.lib
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)