Extract (& update) 'copilot' config

master
Hektor Misplon 2023-12-18 14:03:08 +01:00
parent 6190162e49
commit 480d1d8434
Signed by: hektor
GPG Key ID: 5151AF79E723F21C
2 changed files with 4 additions and 10 deletions

View File

@ -0,0 +1,4 @@
let g:copilot_no_tab_map = v:true
imap <c-l> <plug>(copilot-next)
imap <c-h> <plug>(copilot-prev)
imap <silent><script><expr> <s-tab> copilot#Accept("\<CR>")

10
.vimrc
View File

@ -137,16 +137,6 @@ call plug#end()
" }}}
" `.../copilot` {{{
let g:copilot_node_command = "/home/h/.config/nvm/versions/node/v16.18.0/bin/node"
let g:copilot_no_tab_map = v:true
imap <c-l> <Plug>(copilot-next)
imap <c-h> <Plug>(copilot-prev)
imap <silent><script><expr> <s-tab> copilot#Accept("\<CR>")
" Show Copilot node v16 as it does not work with v18 yet
" }}}
" `.../vimtex` {{{