1
0

Add copilot support.

This commit is contained in:
2026-03-02 14:58:27 +01:00
parent afc00f7cfc
commit 9fc5777f29

View File

@@ -21,6 +21,7 @@ Plug 'antoyo/vim-licenses'
Plug 'flazz/vim-colorschemes' Plug 'flazz/vim-colorschemes'
Plug 'xiyaowong/transparent.nvim' Plug 'xiyaowong/transparent.nvim'
Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'github/copilot.vim', {'branch': 'release'}
call plug#end() call plug#end()
filetype plugin indent on filetype plugin indent on
" to ignore plugin indent changes, instead use: " to ignore plugin indent changes, instead use:
@@ -160,3 +161,7 @@ nnoremap <leader>f :Files<CR>
nnoremap <leader>F :tabnew<CR>:Files<CR> nnoremap <leader>F :tabnew<CR>:Files<CR>
nnoremap <leader>g :GFiles<CR> nnoremap <leader>g :GFiles<CR>
nnoremap <leader>G :tabnew<CR>:GFiles<CR> nnoremap <leader>G :tabnew<CR>:GFiles<CR>
" Copilot
imap <silent><script><expr> <C-J> copilot#Accept("\<CR>")
let g:copilot_no_tab_map = v:true