Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcjkula/gen42.nvim
https://github.com/mcjkula/gen42.nvim
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mcjkula/gen42.nvim
- Owner: mcjkula
- License: mit
- Created: 2024-08-23T14:01:59.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-23T22:53:20.000Z (4 months ago)
- Last Synced: 2024-08-24T15:45:57.108Z (4 months ago)
- Language: Lua
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gen42.nvim
Gen42.nvim is a Neovim plugin that integrates with the Gen42 AI API to provide intelligent code completion and assistance directly within your Neovim environment.
## Features
- Seamless integration with Neovim's workflow
- AI-powered code completion
- Context-aware code suggestions
- Interactive question-answering about selected code## Requirements
- Neovim
- Gen42 API key## Installation
Using [lazy.nvim](https://github.com/folke/lazy.nvim):
```lua
return {
"mcjkula/gen42.nvim",
dependencies = { "nvim-lua/plenary.nvim" },
config = function()
require("gen42").setup({
api_key = "YOUR_API_KEY_HERE",
})
end,
}
```## Usage
1. Select code in visual mode
2. Run the command `:Gen42Question`
3. Enter your question about the selected code
4. View the AI-generated response in a new buffer## Commands
- `:Gen42Question`: Ask a question about the selected code
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Acknowledgements
- [Gen42 AI](https://www.gen42.ai/) for providing the AI API