https://github.com/cristianoliveira/snipgpt.nvim
Plugin to interact with snipgpt
https://github.com/cristianoliveira/snipgpt.nvim
Last synced: 7 months ago
JSON representation
Plugin to interact with snipgpt
- Host: GitHub
- URL: https://github.com/cristianoliveira/snipgpt.nvim
- Owner: cristianoliveira
- License: mit
- Created: 2023-04-08T20:55:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-14T05:28:32.000Z (over 2 years ago)
- Last Synced: 2025-01-17T18:00:45.242Z (9 months ago)
- Language: Lua
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# snipgpt.nvim
A vim plugin for requesting snippets to [snipgpt cli](https://github.com/cristianoliveira/snipgpt).
## Installation
To install this plugin, you can use your favorite plugin manager.
[vim-plug](https://github.com/junegunn/vim-plug) or [vundle](https://github.com/VundleVim/Vundle.vim)
```vim
Plugin 'cristianoliveira/snipgpt.nvim', { 'do': 'npm i snipgpt -g' }
```[packer](https://github.com/wbthomason/packer.nvim)
```lua
use { 'cristianoliveira/snipgpt.nvim', run = 'npm i snipgpt -g' }
```## API
The following commands are exposed by the plugin:
| Command | Usage |
| --------------------------- | ------------------------------------------ |
| `:Snipgpt [request prompt]` | Makes a snippet request to snipgpt using the current filetype |## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.