1
0
Fork 0

[NEOVIM] Update tree + Github copilot mapping

This commit is contained in:
Florian RICHER 2022-01-18 21:11:51 +01:00
parent c12501c5cc
commit cd77e4a87f

View file

@ -9,9 +9,14 @@ local function init()
map('n', '<space>ps', [[<cmd>lua require('telescope.builtin').grep_string({ search = vim.fn.input("Grep For >")})<CR>]])
-------------------- NvimTreeToggle ------------------------
map('n', 'tt', '<cmd>NvimTreeToggle<CR>')
map('n', 'tr', '<cmd>NvimTreeRefresh<CR>')
map('n', 'tf', '<cmd>NvimTreeFocus<CR>')
map('n', '<space>tt', '<cmd>NvimTreeToggle<CR>')
map('n', '<space>tr', '<cmd>NvimTreeRefresh<CR>')
map('n', '<space>tf', '<cmd>NvimTreeFocus<CR>')
-------------------- Github Copilot ------------------------
map('n', '<space>gd', '<cmd>Copilot disable<CR>')
map('n', '<space>ge', '<cmd>Copilot enable<CR>')
map('n', '<space>gi', '<cmd>Copilot setup<CR>')
-------------------- BarBar --------------------------------
-- Move to previous/next