MoonshotAI / MoonshotAI/kimi-code
feat: 支持 TUI 快捷键配置和可选 Vim 模式
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 1.2k
- Avg merge
- 11h 53m
- Merged PRs (30d)
- 350
Description
What feature would you like to see?
希望支持配置 TUI 快捷键,并可选支持 Vim 输入模式。
建议第一阶段支持重映射这些常用动作:
- submit / insert newline
- interrupt / exit
- open external editor
- expand / collapse tool output
- steer while running
- paste media
- open help / settings / session picker
Additional information
Kimi Code 目前快捷键基本是固定的,tui.toml 也只保存少量 TUI 偏好。可配置快捷键可以减少终端冲突,也更符合不同用户已有的肌肉记忆。
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 tracing the TUI input and action handling, then review the existing tui.toml preferences. Define the configuration shape and precedence for the listed actions before considering the optional Vim input mode. Done should include a documented, working way to remap the proposed actions and enable Vim mode without breaking defaults.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100