Skip to content

panozzaj/vim-copilot-ignore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

vim-copilot-ignore

A Vim plugin to automatically disable Copilot in buffers matching patterns specified in .copilotignore or ~/.copilotignore.

One good use case is sensitive files. For example, if you have API keys in a local .env (dotenv) file, it would would be more secure to avoid sending the contents of that file to a server.

Installation

Use your favorite plugin manager.

For example, using vim-plug:

Plug 'panozzaj/vim-copilot-ignore'

Usage

Create a .copilotignore file in your project directory or a global ~/.copilotignore file. Add patterns to ignore, one per line:

.env
backup/*

References

See https://github.com/orgs/community/discussions/10305 for more general discussion of ignoring files in Copilot.

About

Vim plugin to disable Copilot based on .copilotignore

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published