Add copilot.vim

master
Drake 3 years ago
parent 4cbf185254
commit 0b2e5eb3be
No known key found for this signature in database
GPG Key ID: 9B83455BD94F12A3

@ -18,6 +18,7 @@ Plug 'numtostr/FTerm.nvim'
Plug 'andweeb/presence.nvim'
Plug 'tpope/vim-fugitive'
Plug 'SmiteshP/nvim-gps'
Plug 'github/copilot.vim'
vim.call('plug#end')
set.termguicolors = true
set.mouse = 'a'

@ -11,3 +11,4 @@ map('n', '<C-[>', ':BufferLineCyclePrev<CR>', {noremap=true})
map('n', '<C-]>', ':BufferLineCycleNext<CR>', {noremap=true})
map('n', '<C-o>', ':Telescope find_files<CR>', {noremap=true})
map('n', '<C-i>', '<CMD>lua require("FTerm").toggle()<CR>', {noremap=true, silent=true})
map('i', '<C-j>', 'copilot#Accept("<CR>")', {noremap=true, silent=true, expr=true})

Loading…
Cancel
Save