Vim-style prompt editing or `${EDITOR}` support
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 19.9k
- Forks
- 2.3k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 30
Description
Hi 👋
First of all, thanks for building jcode!
I've been trying it out, and it works great. It can potentially replace some of my personal MCPs and hacky scripts, but I have a VIM-related feature request 😄
Could we add support for either a native Vim mode in the prompt input (like Vim mode in bash) or a shortcut that opens the current prompt in ${EDITOR} and returns the saved text?
Either option would be incredibly helpful for composing complex prompts for Vim users.
If one of these aligns with the project's direction, I would be happy to help the maintainers and submit some PRs to implement it!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Rust CLI's prompt-input implementation and how it handles interactive editing. Compare the scope of native Vim mode with opening ${EDITOR}, then confirm the chosen direction with maintainers. Done means complex prompts can be edited using the selected workflow and returned to the prompt unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, vim
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100