summaryrefslogtreecommitdiff
path: root/.config/nvim/after/plugin/undotree.lua
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-07 13:39:01 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-07 13:39:01 +0100
commit26e9302a62b7461ebffda8ae9a56025a90658194 (patch)
tree73147340e6c9eef3d3cba0fffc96c811c39be4c3 /.config/nvim/after/plugin/undotree.lua
parent057345a82b916bb3b1043b0b91fe3a86631ce572 (diff)
nvim: Use vim.keymap.set directly
Diffstat (limited to '.config/nvim/after/plugin/undotree.lua')
-rw-r--r--.config/nvim/after/plugin/undotree.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/.config/nvim/after/plugin/undotree.lua b/.config/nvim/after/plugin/undotree.lua
index ff5625d..a346462 100644
--- a/.config/nvim/after/plugin/undotree.lua
+++ b/.config/nvim/after/plugin/undotree.lua
@@ -1,3 +1 @@
-local lib = require('mango.lib')
-
-lib.remap('n', '<leader>u', vim.cmd.UndotreeToggle)
+vim.keymap.set('n', '<leader>u', vim.cmd.UndotreeToggle)