From ed82e4042b8bfc472a0796dedec1a9369e411cb8 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 12 Sep 2023 23:33:59 +0200 Subject: nvim: Add bindings for luasnip --- .config/nvim/after/plugin/luasnip.lua | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .config/nvim/after/plugin/luasnip.lua (limited to '.config/nvim/after/plugin/luasnip.lua') diff --git a/.config/nvim/after/plugin/luasnip.lua b/.config/nvim/after/plugin/luasnip.lua new file mode 100644 index 0000000..42103bc --- /dev/null +++ b/.config/nvim/after/plugin/luasnip.lua @@ -0,0 +1,5 @@ +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) -- cgit v1.2.3