1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-07-03 09:59:25 +00:00

[neovim] Add rose-pine theme and some refactors

This commit is contained in:
2024-03-17 18:25:34 +01:00
parent aceaa089f0
commit e7bf2eb91d
11 changed files with 112 additions and 44 deletions

View File

@ -153,11 +153,13 @@ keymap(
)
-- Copilot
keymap("n", "<leader>coa", function()
require("CopilotChat.code_actions").show_help_actions()
keymap({ "n", "v" }, "<leader>coa", function()
local actions = require("CopilotChat.actions")
require("CopilotChat.integrations.telescope").pick(actions.help_actions())
end, vim.tbl_extend("force", opts, { desc = "CopilotChat - Help actions" }))
keymap("n", "<leader>cop", function()
require("CopilotChat.code_actions").show_prompt_actions()
keymap("n", "<leader>coh", function()
local actions = require("CopilotChat.actions")
require("CopilotChat.integrations.telescope").pick(actions.prompt_actions())
end, vim.tbl_extend("force", opts, { desc = "CopilotChat - Prompt actions" }))
-- Better paste