feat: add sidekick.nvim and haunt.nvim with AI and bookmark integration
- Add sidekick.nvim: Next Edit Suggestions (NES) via Copilot LSP, integrated AI CLI terminal, and Snacks picker send action (<Alt-a>) - Add haunt.nvim: in-buffer annotation/bookmark manager with Snacks picker and 6 keymaps (<leader>ha/ht/hd/hn/hp/hl) - Wire blink.cmp <Tab> to chain snippet_forward -> NES -> inline completion - Expose haunt_all and haunt_buffer as Sidekick prompt contexts - Suppress lua_ls "Loading workspace" progress bar via Noice route - Update README to document all new plugins, keymaps, and post-install steps
This commit is contained in:
@@ -331,3 +331,25 @@ end, { desc = "Restore Last Session" })
|
||||
vim.keymap.set("n", "<leader>qd", function()
|
||||
require("persistence").stop()
|
||||
end, { desc = "Don't Save Current Session" })
|
||||
|
||||
----------------------------------------------------------
|
||||
|
||||
-- Haunt Keymaps
|
||||
vim.keymap.set("n", "<leader>ha", function()
|
||||
require("haunt.api").annotate()
|
||||
end, { desc = "Annotate" })
|
||||
vim.keymap.set("n", "<leader>ht", function()
|
||||
require("haunt.api").toggle_annotation()
|
||||
end, { desc = "Toggle Annotation" })
|
||||
vim.keymap.set("n", "<leader>hd", function()
|
||||
require("haunt.api").delete()
|
||||
end, { desc = "Delete Bookmark" })
|
||||
vim.keymap.set("n", "<leader>hn", function()
|
||||
require("haunt.api").next()
|
||||
end, { desc = "Next Bookmark" })
|
||||
vim.keymap.set("n", "<leader>hp", function()
|
||||
require("haunt.api").prev()
|
||||
end, { desc = "Previous Bookmark" })
|
||||
vim.keymap.set("n", "<leader>hl", function()
|
||||
require("haunt.picker").show()
|
||||
end, { desc = "Show Bookmark Picker" })
|
||||
|
||||
Reference in New Issue
Block a user