claude-code - 💡(How to fix) Fix [FEATURE] Configurable keymap for agent view navigation (vim preset) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#60579Fetched 2026-05-20 03:54:54
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • Searched existing requests — no existing issue covers agent-view keymap configuration.
  • This is a single feature request.

Problem Statement

Agent view (claude agents, v2.1.139 Research Preview) navigation is currently hardcoded to arrow keys plus a fixed set of Ctrl/letter shortcuts. Users with vim muscle memory — and users on keyboards/layouts where the defaults are awkward — have no way to remap. Hardcoding a "vim mode" would just trade one fixed scheme for another.

Proposed Solution

Introduce a configurable keymap for the agent view in /config (e.g. agentView.keymap), with named presets and per-action overrides:

  • default — current arrow-key scheme.
  • vimj/k move, gg/G top/bottom, Ctrl+d/u half-page, / search-filter, x stop/delete, Enter attach.
  • A per-action override map so users can bind any action to any key, regardless of preset.

Presets are the easy on-ramp; the override map is the real ask — it future-proofs against layout conflicts and lets non-vim users fix awkward bindings too.

Rationale

The view is iterating fast (5 follow-up releases in the week after launch) and is already accumulating bindings (Ctrl+S, Ctrl+R, Ctrl+X, ?). Locking them in hardcoded makes every future binding a potential conflict. A keymap config makes the surface extensible and accessible without privileging one editor's conventions.

Priority

Medium.

Feature Category

TUI / agent view / keybindings

Use Case Example

A vim user sets agentView.keymap: vim and navigates the session list with j/k, jumps to the bottom with G, and filters with /needs input — no reach for the arrow keys. A Dvorak user instead remaps just the two motion keys via the override map.

Suggested Labels

enhancement, area:agent-view, keybindings

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING