An open API service indexing awesome lists of open source software.

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

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.