1jehuang / 1jehuang/jcode

Vim-style prompt editing or `${EDITOR}` support

Open
#263 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement priority: medium triage: needs-decision
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.