Add LuaSnip choice mappings
This commit is contained in:
parent
a8c313b9cd
commit
516d3cbce7
@ -22,15 +22,15 @@ return {
|
|||||||
luasnip.jump(-1)
|
luasnip.jump(-1)
|
||||||
end
|
end
|
||||||
end, { silent = true })
|
end, { silent = true })
|
||||||
-- vim.keymap.set('s', '<M-l>', function()
|
vim.keymap.set({ "i", "s" }, "<C-N>", function()
|
||||||
-- if luasnip.choice_active() then
|
if luasnip.choice_active() then
|
||||||
-- luasnip.change_choice(1)
|
luasnip.change_choice(1)
|
||||||
-- end
|
end
|
||||||
-- end, { silent = true })
|
end, { silent = true })
|
||||||
-- vim.keymap.set('s', '<M-h>', function()
|
vim.keymap.set({ "i", "s" }, "<C-P>", function()
|
||||||
-- if luasnip.choice_active() then
|
if luasnip.choice_active() then
|
||||||
-- luasnip.change_choice(-1)
|
luasnip.change_choice(-1)
|
||||||
-- end
|
end
|
||||||
-- end, { silent = true })
|
end, { silent = true })
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user