Make LuaSnip mapping case consistent
This commit is contained in:
parent
516d3cbce7
commit
94288ce806
@ -17,17 +17,17 @@ return {
|
||||
luasnip.expand_or_jump()
|
||||
end
|
||||
end, { silent = true })
|
||||
vim.keymap.set({ 'i', 's' }, '<C-K>', function()
|
||||
vim.keymap.set({ 'i', 's' }, '<C-k>', function()
|
||||
if luasnip.jumpable(-1) then
|
||||
luasnip.jump(-1)
|
||||
end
|
||||
end, { silent = true })
|
||||
vim.keymap.set({ "i", "s" }, "<C-N>", function()
|
||||
vim.keymap.set({ "i", "s" }, "<C-n>", function()
|
||||
if luasnip.choice_active() then
|
||||
luasnip.change_choice(1)
|
||||
end
|
||||
end, { silent = true })
|
||||
vim.keymap.set({ "i", "s" }, "<C-P>", function()
|
||||
vim.keymap.set({ "i", "s" }, "<C-p>", function()
|
||||
if luasnip.choice_active() then
|
||||
luasnip.change_choice(-1)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user