MoonshotAI / MoonshotAI/kimi-code

Feature request: navigate between prompts in context with Ctrl+PgUp / Ctrl+PgDn

Open
#880 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
7.5k
Forks
1.2k
Avg merge
11h 53m
Merged PRs (30d)
350

Description

In many terminals and chat clients, Ctrl+PgUp / Ctrl+PgDn navigate through previous/next items in history.

It would be useful in Kimi Code CLI to be able to jump between user prompts in the current session context using these keys, especially during long sessions where the context contains many tool calls and assistant responses between user messages.

Proposed behavior
  • Ctrl+PgUp: jump to the previous user prompt in the context.
  • Ctrl+PgDn: jump to the next user prompt in the context.
  • Optional: also support Alt+Up / Alt+Down for keyboards without dedicated PgUp/PgDn keys.
Why this helps
  • Faster navigation in long sessions without manually scrolling.
  • Easier to review conversation flow and refer back to earlier instructions.
  • Aligns with common terminal/editor keybindings.
Scope

This is a TUI/keyboard-navigation enhancement. It does not change model behavior or context content.

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

No file or test is named in the issue. Start by locating the TUI keyboard-input handling and the representation of user prompts in the current session context. Done means Ctrl+PgUp and Ctrl+PgDn move between user prompts without changing context content, with the optional Alt+Up/Alt+Down behavior addressed explicitly.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.