change accept autocomplete with TAB to CTRL+l
This commit is contained in:
parent
14da6a657b
commit
36fe97222a
3 changed files with 9 additions and 2 deletions
|
|
@ -1,4 +1,11 @@
|
|||
return {
|
||||
"github/copilot.vim",
|
||||
lazy = false,
|
||||
config = function()
|
||||
vim.g.copilot_no_tab_map = true
|
||||
vim.keymap.set('i', '<C-l>', 'copilot#Accept("\\<CR>")', {
|
||||
expr = true,
|
||||
replace_keycodes = false
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
lazy = false,
|
||||
-- event = { "BufReadPost", "BufNewFile" },
|
||||
build = ":TSUpdate",
|
||||
config = function()
|
||||
require("nvim-treesitter").setup({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue