From cd77e4a87ff30eee0b238ee343490f77471b96dc Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Tue, 18 Jan 2022 21:11:51 +0100 Subject: [PATCH] [NEOVIM] Update tree + Github copilot mapping --- configs/nvim/lua/mappings.lua | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/configs/nvim/lua/mappings.lua b/configs/nvim/lua/mappings.lua index 3d2c18f..f90ab00 100644 --- a/configs/nvim/lua/mappings.lua +++ b/configs/nvim/lua/mappings.lua @@ -9,9 +9,14 @@ local function init() map('n', 'ps', [[lua require('telescope.builtin').grep_string({ search = vim.fn.input("Grep For >")})]]) -------------------- NvimTreeToggle ------------------------ - map('n', 'tt', 'NvimTreeToggle') - map('n', 'tr', 'NvimTreeRefresh') - map('n', 'tf', 'NvimTreeFocus') + map('n', 'tt', 'NvimTreeToggle') + map('n', 'tr', 'NvimTreeRefresh') + map('n', 'tf', 'NvimTreeFocus') + + -------------------- Github Copilot ------------------------ + map('n', 'gd', 'Copilot disable') + map('n', 'ge', 'Copilot enable') + map('n', 'gi', 'Copilot setup') -------------------- BarBar -------------------------------- -- Move to previous/next