From 26e9302a62b7461ebffda8ae9a56025a90658194 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 7 Nov 2023 13:39:01 +0100 Subject: nvim: Use vim.keymap.set directly --- .config/nvim/after/plugin/luasnip.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '.config/nvim/after/plugin/luasnip.lua') 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', '', function() luasnip.jump(1) end) -lib.remap('i', '', function() luasnip.jump(-1) end) +vim.keymap.set('i', '', function() luasnip.jump(1) end) +vim.keymap.set('i', '', function() luasnip.jump(-1) end) -- cgit v1.2.3