github / github/copilot.vim

function to toggle panel

Abierto
#190 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Vim Script
Estrellas
11.7k
Forks
810
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.