summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/mango/remap.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/mango/remap.lua')
-rw-r--r--.config/nvim/lua/mango/remap.lua6
1 files changed, 1 insertions, 5 deletions
diff --git a/.config/nvim/lua/mango/remap.lua b/.config/nvim/lua/mango/remap.lua
index 46e2bc2..bcc34f3 100644
--- a/.config/nvim/lua/mango/remap.lua
+++ b/.config/nvim/lua/mango/remap.lua
@@ -1,8 +1,4 @@
-local function remap(modes, from, to)
- modes:gsub('.', function(c)
- vim.keymap.set(c, from, to)
- end)
-end
+local remap = require('mango.lib').remap
vim.g.mapleader = ' '