Up.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
File : conf.d/lvim/lua/user/dap.lua
|
||||
Author : Jeff Lance <email@jefflance.me>
|
||||
Date : 28.12.2023 21:34:48
|
||||
Last Modified Date: 06.01.2024 18:53:52
|
||||
Last Modified Date: 01.02.2024 12:47:04
|
||||
Last Modified By : Jeff Lance <email@jefflance.me>
|
||||
--]]--
|
||||
|
||||
|
||||
@@ -29,6 +29,11 @@ M.setup = function()
|
||||
require("lvim.lsp.manager").setup(
|
||||
"marksman", {
|
||||
})
|
||||
|
||||
require("lvim.lsp.manager").setup(
|
||||
"golangci_lint_ls", {
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
@@ -111,6 +111,9 @@ M.setup = function()
|
||||
})
|
||||
end
|
||||
},
|
||||
-- {
|
||||
-- 'tpope/vim-dotenv',
|
||||
-- },
|
||||
-- gitignore
|
||||
{
|
||||
'jefflance/vim-gitignore',
|
||||
|
||||
@@ -15,6 +15,24 @@ M.setup = function()
|
||||
-- whichkey mappings
|
||||
--
|
||||
|
||||
-- chatgpt bindings
|
||||
lvim.builtin.which_key.mappings["C"] = {
|
||||
name = "ChatGPT",
|
||||
c = { "<cmd>ChatGPT<CR>", "ChatGPT" },
|
||||
e = { "<cmd>ChatGPTEditWithInstruction<CR>", "Edit with instruction", mode = { "n", "v" } },
|
||||
g = { "<cmd>ChatGPTRun grammar_correction<CR>", "Grammar Correction", mode = { "n", "v" } },
|
||||
t = { "<cmd>ChatGPTRun translate<CR>", "Translate", mode = { "n", "v" } },
|
||||
k = { "<cmd>ChatGPTRun keywords<CR>", "Keywords", mode = { "n", "v" } },
|
||||
d = { "<cmd>ChatGPTRun docstring<CR>", "Docstring", mode = { "n", "v" } },
|
||||
a = { "<cmd>ChatGPTRun add_tests<CR>", "Add Tests", mode = { "n", "v" } },
|
||||
o = { "<cmd>ChatGPTRun optimize_code<CR>", "Optimize Code", mode = { "n", "v" } },
|
||||
s = { "<cmd>ChatGPTRun summarize<CR>", "Summarize", mode = { "n", "v" } },
|
||||
f = { "<cmd>ChatGPTRun fix_bugs<CR>", "Fix Bugs", mode = { "n", "v" } },
|
||||
x = { "<cmd>ChatGPTRun explain_code<CR>", "Explain Code", mode = { "n", "v" } },
|
||||
r = { "<cmd>ChatGPTRun roxygen_edit<CR>", "Roxygen Edit", mode = { "n", "v" } },
|
||||
l = { "<cmd>ChatGPTRun code_readability_analysis<CR>", "Code Readability Analysis", mode = { "n", "v" } },
|
||||
}
|
||||
|
||||
-- remap neo-tree shortcut to rnvimr
|
||||
lvim.builtin.which_key.mappings["e"] = { "<CMD>RnvimrToggle<CR>", "File explorer" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user