Skip to content

Commit bbd07e6

Browse files
authored
docs: vim-plug setup snippet (issue: #123)
1 parent d76be3d commit bbd07e6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,17 @@ use({
9494
})
9595
```
9696

97+
```lua
98+
-- vim-plug
99+
Plug 'robitx/gp.nvim'
100+
101+
require("gp").setup()
102+
103+
-- or setup with your own config (see Install > Configuration in Readme)
104+
-- require("gp").setup(config)
105+
106+
-- shortcuts might be setup here (see Usage > Shortcuts in Readme)
107+
```
97108
## 2. OpenAI API key
98109

99110
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.

0 commit comments

Comments
 (0)