[COPILOT] Replace Tab by Ctrl+j
This commit is contained in:
parent
7ebfc30766
commit
3d805aa791
1 changed files with 4 additions and 0 deletions
|
@ -68,6 +68,10 @@ local function init()
|
|||
|
||||
-------------------- COMMANDS ------------------------------
|
||||
cmd 'au TextYankPost * lua vim.highlight.on_yank {on_visual = false}' -- disabled in visual mode
|
||||
|
||||
-------------------- GITHUB COPILOT ------------------------
|
||||
map('i', '<C-j>', [[copilot#Accept("\<CR>")]], {noremap=true, silent=true, expr=true})
|
||||
cmd('let g:copilot_no_tab_map = v:true') -- Disable tab autocomplete github copilot
|
||||
end
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue