zbirenbaum / copilot.lua

Fully featured & enhanced replacement for copilot.vim complete with API for interacting with Github Copilot
MIT License
2.43k stars 65 forks source link

Disable Copilot for All Buffers #218

Closed LandonSchropp closed 8 months ago

LandonSchropp commented 8 months ago

Occasionally, I like to disable Copilot completely in Neovim when I'm doing practice problems. I know that I can run :Copilot toggle to disable Copilot for the current buffer, but it's easy to forget to do this when I open new problems and accidentally disable Copilot altogether.

Is there any Copilot command I can run to disable Copilot indefinitely for a Neovim process?

MunifTanjim commented 8 months ago

:Copilot disable