feat(keymaps): add normal-mode NES keymap and enable native inline completion
Adds a normal-mode <Tab> binding that calls sidekick.nes_jump_or_apply() so NES suggestions can be accepted without entering insert mode. Enables vim.lsp.inline_completion so the insert-mode <Tab> chain (snippet → NES → native inline completion → fallback) is fully wired. Updates the README keymaps table to reflect both modes and the complete Tab chain.
This commit is contained in:
@@ -292,6 +292,13 @@ end, { desc = "Neovim News" })
|
||||
|
||||
----------------------------------------------------------
|
||||
|
||||
-- Sidekick NES: accept next-edit suggestion in normal mode
|
||||
vim.keymap.set("n", "<Tab>", function()
|
||||
require("sidekick").nes_jump_or_apply()
|
||||
end, { desc = "Apply Sidekick NES Suggestion" })
|
||||
|
||||
----------------------------------------------------------
|
||||
|
||||
-- Leap Keymaps
|
||||
vim.keymap.set({ "n", "x", "o" }, "<CR>", "<Plug>(leap)")
|
||||
vim.keymap.set("n", "S", "<Plug>(leap-from-window)")
|
||||
|
||||
Reference in New Issue
Block a user