Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/datamine/vimscript-llm
LLM Integration for Vim, so you can always generate the right vim commands
https://github.com/datamine/vimscript-llm
Last synced: 7 days ago
JSON representation
LLM Integration for Vim, so you can always generate the right vim commands
- Host: GitHub
- URL: https://github.com/datamine/vimscript-llm
- Owner: Datamine
- Created: 2024-07-16T14:29:47.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-07-17T13:21:34.000Z (5 months ago)
- Last Synced: 2024-12-03T15:33:12.263Z (24 days ago)
- Language: Python
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## VimScript-LLM
# What does it do
This implements a vim plugin that allows you to call an LLM from inside vim to give you otherwise hard-to-write vim commands
# Why
Vim has a very powerful internal language, but it's hard to learn or use productively. Vimscript-LLM allows you to use natural language to write vim commands for you. For example, you can call `:LLM replace any amount of text between two commas on one line with exactly one tab` and get a command that otherwise would've taken some time to write.
# Status
It turns out that LLMs are OK but not great at writing Vim commands. I'm getting useful output from ~half my calls and need to improve an internal validation loop to ensure valid outputs.