[Nvim] update and LLM

This commit is contained in:
2026-02-17 18:57:07 +01:00
parent c07058a3c4
commit 3ef2509830
3 changed files with 24 additions and 14 deletions

View File

@@ -17,3 +17,13 @@ map({ "n", "v" }, "<leader>ge", ":Gen<CR>")
map("n", "<leader>gl", "<cmd>lua vim.lsp.buf.code_action()<CR>", { noremap = true, silent = true })
-- map({ "n", "i", "v" }, "<C-s>", "<cmd> w <cr>")
-- Diagnostics
map("n", "<leader>da", ":lua vim.lsp.buf.code_action()<CR>", { desc = "Code actions" })
map("n", "<leader>dh", ":lua vim.diagnostic.open_float()<CR>", { desc = "Show diagnostics" })
map("n", "<leader>dj", ":lua vim.diagnostic.goto_next()<CR>", { desc = "Go to next" })
map("n", "<leader>dk", ":lua vim.diagnostic.goto_prev()<CR>", { desc = "Go to previous" })
-- P paste with
-- global marks
-- "{register}

View File

@@ -17,7 +17,7 @@ return {
"David-Kunz/gen.nvim",
opts = {
-- model = "llama3.2:3b", -- The default model to use.
model = "mistral-small:22b",
model = "qwen3-coder:30b",
-- host = "192.168.0.17",
quit_map = "q", -- set keymap to close the response window
retry_map = "<c-r>", -- set keymap to re-send the current prompt