github / github/copilot.vim

function to toggle panel

Aberta
#190 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Vim Script
Estrelas
11.7k
Forks
810
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Hello,

First off, thank you for this awesome plugin! Just starting to use it in certain situations and it amazes me how it works.

I recently created a toggle function to disable/enable copilot:
```
" custom global var for toggle function
let g:copilot_enabled = v:true

function! ToggleCopilot()
if g:copilot_enabled
Copilot disable
let g:copilot_enabled = v:false
else
Copilot enable
let g:copilot_enabled = v:true
endif
Copilot status
endfunction

nnoremap c :call ToggleCopilot()
```

And wanted to create something similar with `:Copilot panel`.

Any input in how I could achieve this is appreciated?

Thank you,
Dave

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.