Add S-Tab mapping to outdent

Update Copilot to use C-a to accept change to avoid conflict with `Tab` for indenting
This commit is contained in:
Daniel McKnight 2025-06-09 11:20:11 -07:00
parent e8c74fafe4
commit 2f76742b1c
2 changed files with 9 additions and 0 deletions

View file

@ -1,6 +1,14 @@
return {
{
"github/copilot.vim",
config = function()
vim.keymap.set("i", "<C-a>", 'copilot#Accept()', {
expr = true,
silent = true,
replace_keycodes = false,
})
vim.g.copilot_no_tab_map = true
end,
},
{
"CopilotC-Nvim/CopilotChat.nvim",