1
0
Fork 0

[COPILOT] Replace Tab by Ctrl+j

This commit is contained in:
Florian RICHER (MrDev023) 2022-02-08 10:40:14 +01:00
parent 7ebfc30766
commit 3d805aa791

View file

@ -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 {