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:
parent
e8c74fafe4
commit
2f76742b1c
2 changed files with 9 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue