hey.vim is a Vim plugin that utilizes the LLM service API to edit text.
It supports the following services:
Clipchamp.mp4
This plugin depends on Deno and denops.vim.
Plug 'vim-denops/denops.vim'
Plug 'tani/hey.vim'
You need to get an API key for the LLM service and set it to the environment variable:
$OPENAI_API_KEY
for OpenAI API.$GOOGLE_API_KEY
for Google Gemini API.$ANTHROPIC_API_KEY
for Anthropic Claude API.
Note that if you're using denops-shared-server, the environment variable is
separate from Vim. In this case, you should set it to the system environment
variable or set g:hey_api_key
.
Use these commands:
:[range]Hey[!] {prompt}
- Edit text. With !, the text is replaced inplace.:HeyAbort
- Abort the current asynchronous operation.:HeyClose
- Close the Hey popup or window.
See :help hey-commands
for more information.
See :help hey-options
for more information.
This software is released under the MIT License. https://git.io/mit-license