diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-09-12 23:33:59 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-09-12 23:33:59 +0200 |
commit | ed82e4042b8bfc472a0796dedec1a9369e411cb8 (patch) | |
tree | fe66c138adc101c23e6b09a7732d010c8b572e03 /.config/nvim/after/plugin | |
parent | 78d2f88b3207f00cac1d5cbe21e00286dec417e8 (diff) |
nvim: Add bindings for luasnip
Diffstat (limited to '.config/nvim/after/plugin')
-rw-r--r-- | .config/nvim/after/plugin/luasnip.lua | 5 |
1 files changed, 5 insertions, 0 deletions
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', '<C-l>', function() luasnip.jump(1) end) +lib.remap('i', '<C-h>', function() luasnip.jump(-1) end) |