From 3d805aa7918df8d3363ee7ecd996e94d536ead71 Mon Sep 17 00:00:00 2001 From: "Florian RICHER (MrDev023)" Date: Tue, 8 Feb 2022 10:40:14 +0100 Subject: [PATCH] [COPILOT] Replace Tab by Ctrl+j --- configs/nvim/lua/mappings.lua | 4 ++++ 1 file changed, 4 insertions(+) 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 {