mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2025-08-19 20:30:22 +00:00
[neovim] Minimal refactor
This commit is contained in:
@@ -153,18 +153,12 @@ keymap(
|
||||
)
|
||||
|
||||
-- Copilot
|
||||
keymap(
|
||||
"n",
|
||||
"<leader>coe",
|
||||
"<cmd>CopilotChatExplain<cr>",
|
||||
vim.tbl_extend("force", opts, { desc = "CopilotChat - Explain code" })
|
||||
)
|
||||
keymap(
|
||||
"n",
|
||||
"<leader>cot",
|
||||
"<cmd>CopilotChatTests<cr>",
|
||||
vim.tbl_extend("force", opts, { desc = "CopilotChat - Generate tests" })
|
||||
)
|
||||
keymap("n", "<leader>coa", function()
|
||||
require("CopilotChat.code_actions").show_help_actions()
|
||||
end, vim.tbl_extend("force", opts, { desc = "CopilotChat - Help actions" }))
|
||||
keymap("n", "<leader>cop", function()
|
||||
require("CopilotChat.code_actions").show_prompt_actions()
|
||||
end, vim.tbl_extend("force", opts, { desc = "CopilotChat - Prompt actions" }))
|
||||
|
||||
-- Better paste
|
||||
keymap("v", "p", "P", vim.tbl_extend("force", opts, { desc = "Paste" }))
|
||||
|
@@ -120,7 +120,7 @@ require("lazy").setup({
|
||||
},
|
||||
},
|
||||
{ "romgrk/fzy-lua-native" },
|
||||
{ "mg979/vim-visual-multi", version = "v0.*" },
|
||||
{ "mg979/vim-visual-multi" },
|
||||
{
|
||||
"coffebar/neovim-project",
|
||||
opts = {
|
||||
@@ -263,11 +263,6 @@ require("lazy").setup({
|
||||
-- Typescript
|
||||
{
|
||||
"pmizio/typescript-tools.nvim",
|
||||
opts = {
|
||||
settings = {
|
||||
complete_function_calls = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
-- Markdown
|
||||
@@ -293,11 +288,6 @@ require("lazy").setup({
|
||||
{ "AndreM222/copilot-lualine" },
|
||||
{
|
||||
"copilotc-nvim/copilotchat.nvim",
|
||||
opts = {
|
||||
show_help = "yes",
|
||||
debug = false,
|
||||
disable_extra_info = "yes",
|
||||
},
|
||||
event = "VeryLazy",
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user