Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Query ChatGPT in Neovim

License

NotificationsYou must be signed in to change notification settings

terror/chatgpt.nvim

Repository files navigation

chatgpt.nvim is a Neovim plugin that lets you query ChatGPT inside a Neovimbuffer.

Demo

asciicast

Installation

n.b. You must havepython3 installed on your machine in order toinstall and use this plugin.

You can install this plugin withpackeror any other vim plugin manager:

use({'terror/chatgpt.nvim',run='pip3 install -r requirements.txt'})

Configuration

The plugin looks for a configuration file in your home directory called.chatgpt-nvim.json, and it expects a valid OpenAI api key to be set forqueries to work:

{"api_key":"<API-KEY>" }

You can get an api key from OpenAI via theirwebsite.

Commands

Below are the available commands this plugin supports:

NameArgumentsDescription
ChatGPTOpen a new interactive ChatGPT environment
ChatGPT[query]Load a ChatGPT response toquery into the Neovim command prompt.

About

Query ChatGPT in Neovim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp