Skip to content

antonmry/diff_copilot.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Diff Copilot Neovim

This is a Neovim plugin that integrates with GitHub Copilot to provide enhanced vimdiff capabilities.

DiffCopilot.mov
DiffRequest.mov

Installation

To install this plugin, you can use your preferred plugin manager. For example, using lazy.nvim:

{
	"antonmry/diff_copilot.nvim",
	dependencies = { "CopilotC-Nvim/CopilotChat.nvim", "jpalardy/vim-slime" },
	config = true,
   }

Usage

Once installed, you can use the following commands to interact with the plugin:

  • :DiffCopilot - Asks for the prompt and directly opens the diff view with Copilot suggestions.
  • :DiffRequest - Sends the content of the registry o as prompt and opens the diff view with Copilot suggestions. The registry o is automatically populated with the content of /tmp/output.log.
  • :SendR - Sends the content of the registry r to the terminal using vim-slime.

SendR and DiffRequest are intended to be used with antonmry/llm-helper-cli.

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

License

This project is licensed under the MIT License.

About

Extension of CopilotChat.nvim to use vimdiff features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages