Browse Source

fix Copilot mapping

Daniel Sheffield 2 ngày trước cách đây
mục cha
commit
451d2fdbd0
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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)