summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/after/plugin/fugitive.lua4
-rw-r--r--.config/nvim/after/plugin/luasnip.lua5
-rw-r--r--.config/nvim/after/plugin/undotree.lua4
3 files changed, 4 insertions, 9 deletions
diff --git a/.config/nvim/after/plugin/fugitive.lua b/.config/nvim/after/plugin/fugitive.lua
index 39f7df6..6e1b92d 100644
--- a/.config/nvim/after/plugin/fugitive.lua
+++ b/.config/nvim/after/plugin/fugitive.lua
@@ -1,3 +1 @@
-local lib = require('mango.lib')
-
-lib.remap('n', '<leader>gs', vim.cmd.Git)
+vim.keymap.set('n', '<leader>gs', vim.cmd.Git)
diff --git a/.config/nvim/after/plugin/luasnip.lua b/.config/nvim/after/plugin/luasnip.lua
index 42103bc..8216615 100644
--- a/.config/nvim/after/plugin/luasnip.lua
+++ b/.config/nvim/after/plugin/luasnip.lua
@@ -1,5 +1,4 @@
local luasnip = require('luasnip')
-local lib = require('mango.lib')
-lib.remap('i', '<C-l>', function() luasnip.jump(1) end)
-lib.remap('i', '<C-h>', function() luasnip.jump(-1) end)
+vim.keymap.set('i', '<C-l>', function() luasnip.jump(1) end)
+vim.keymap.set('i', '<C-h>', function() luasnip.jump(-1) end)
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)