소스 검색

fix Copilot mapping

Daniel Sheffield 2 일 전
부모
커밋
451d2fdbd0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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)