function to toggle panel
- Lingua principale
- Vim Script
- Stelle
- 11.7k
- Fork
- 810
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.