Skip to content

Support for junegunn/vim-plug to install #46

Answered by treyhunner
mjj29 asked this question in Q&A
Discussion options

You must be logged in to vote

I asked Chat GPT to translate the installation instructions for lazy.nvim to vim-plugin instead.

This is what I ended up with, which worked for me:

" Place this between call plug#begin() and call plug#end()
Plug 'CopilotC-Nvim/CopilotChat.nvim'

" After call plug#end(), configure the plugin options with VimScript
let g:copilotchat_options = {
      \ 'show_help': 'yes',
      \ 'debug': v:false,
      \ 'disable_extra_info': 'no',
      \ 'proxy': '',
      \ }

" Key mappings
nnoremap <leader>cce <cmd>CopilotChatExplain<cr>
nnoremap <leader>cct <cmd>CopilotChatTests<cr>
xnoremap <leader>ccv :CopilotChatVisual<cr>
xnoremap <leader>ccx :CopilotChatInPlace<cr>

After adding the plugin with …

Replies: 3 comments 16 replies

Comment options

You must be logged in to vote
2 replies
@mjj29
Comment options

@jellydn
Comment options

Comment options

You must be logged in to vote
14 replies
@mjj29
Comment options

@jellydn
Comment options

@mjj29
Comment options

@jellydn
Comment options

@pietro1704
Comment options

Answer selected by jellydn
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #44 on February 13, 2024 15:31.