commit 45d4c9f088cec6a378b973156ea21413497abc89
parent 93bd25d3bdad81bd12087d001f08c3b2ebce5a01
Author: Andrew Laack <andrew@laack.co>
Date: Sat, 30 May 2026 00:57:57 -0500
Updated keymappings
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/lua/core/keymaps.lua b/lua/core/keymaps.lua
@@ -103,7 +103,6 @@ vim.keymap.set('i', '<C-h>', '<C-w>', { noremap = true, silent = true })
-- Define how to use snippets
vim.cmd[[
-imap <silent><expr> <C-y> luasnip#expand_or_jumpable() ? '<Plug>luasnip-expand-or-jump' : '<Tab>'
smap <silent><expr> <C-n> luasnip#jumpable(1) ? '<Plug>luasnip-jump-next' : '<Tab>'
imap <silent><expr> <C-p> luasnip#jumpable(-1) ? '<Plug>luasnip-jump-prev' : '<S-Tab>'
diff --git a/lua/core/plugins.lua b/lua/core/plugins.lua
@@ -145,7 +145,7 @@ require("luasnip").config.set_config({ -- Setting LuaSnip config
n_predict = 128,
t_max_predict_ms = 5000,
keymap_fim_trigger = "",
- keymap_fim_accept_full = "<Tab>",
+ keymap_fim_accept_full = "<C-a>", -- don't know if this is the correct keymap
keymap_fim_accept_line = "<S-Tab>",
keymap_fim_accept_word = "",
keymap_inst_trigger = "",