Skip to content

Commit

Permalink
docs: vim-plug setup snippet (issue: #123)
Browse files Browse the repository at this point in the history
  • Loading branch information
Robitx committed Mar 26, 2024
1 parent d76be3d commit bbd07e6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,17 @@ use({
})
```

```lua
-- vim-plug
Plug 'robitx/gp.nvim'

require("gp").setup()

-- or setup with your own config (see Install > Configuration in Readme)
-- require("gp").setup(config)

-- shortcuts might be setup here (see Usage > Shortcuts in Readme)
```
## 2. OpenAI API key

Make sure you have OpenAI API key. [Get one here](https://platform.openai.com/account/api-keys) and use it in the [4. Configuration](#4-configuration). Also consider setting up [usage limits](https://platform.openai.com/account/billing/limits) so you won't get suprised at the end of the month.
Expand Down

0 comments on commit bbd07e6

Please sign in to comment.