From bbd07e6fc729b8d9a6ed3f585f9bc8d983ca9688 Mon Sep 17 00:00:00 2001 From: Tibor Schmidt Date: Tue, 26 Mar 2024 16:08:24 +0100 Subject: [PATCH] docs: vim-plug setup snippet (issue: #123) --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index af19831..d6d8b24 100644 --- a/README.md +++ b/README.md @@ -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.