[Nvim] update and LLM
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user