github / github/copilot.vim

function to toggle panel

オープン
#190 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Vim Script
スター
11.7k
フォーク
810
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。