Ver Fonte

fix Copilot mapping

Daniel Sheffield há 2 dias atrás
pai
commit
451d2fdbd0
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      vim/vimfiles/vimrc

+ 2 - 2
vim/vimfiles/vimrc

@@ -452,8 +452,8 @@ augroup END
 
 " Disable <TAB> being mapped to copilot#Accept
 let g:copilot_no_tab_map = v:true
-" Map Ctrl-I to accept the current suggestion
-inoremap <silent><script><expr> <C-I> copilot#Accept("\<CR>")
+" Map Alt-I to accept the current suggestion
+inoremap <silent><script><expr> <LEADER>ca copilot#Accept("\<CR>")
 
 " Custom mappings
 inoremap <C-L> <Plug>(copilot-accept-word)