diff --git a/configs/nvim/lua/mappings.lua b/configs/nvim/lua/mappings.lua index f90ab00..a73a54a 100644 --- a/configs/nvim/lua/mappings.lua +++ b/configs/nvim/lua/mappings.lua @@ -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', '', [[copilot#Accept("\")]], {noremap=true, silent=true, expr=true}) + cmd('let g:copilot_no_tab_map = v:true') -- Disable tab autocomplete github copilot end return {