#8741: fix(tui): allow j/k keys to be typed in search inputs (#7378)
stale
Cluster:
UI and Model Management Enhancements
Remove vim-style j/k navigation from FilterableSelectList and SearchableSelectList components. These keys were mapped to up/down navigation when the search input was empty, preventing users from searching for models or sessions starting with 'j' or 'k'.
Users can still navigate using arrow keys or Ctrl+P/Ctrl+N.
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR removes vim-style `j/k` navigation from two TUI list components (`FilterableSelectList` and `SearchableSelectList`) so users can type model/session names beginning with `j` or `k` in the search/filter input. Navigation remains available via arrow keys and `Ctrl+P`/`Ctrl+N`, aligning input handling with the stated UX goal while keeping the rest of the selection and filtering behavior unchanged.
<h3>Confidence Score: 5/5</h3>
- This PR is safe to merge with minimal risk.
- Changes are narrowly scoped to key handling in two TUI components, simply removing `j/k` from navigation and leaving arrow/Ctrl bindings intact; no state management, filtering, or rendering logic was altered beyond removing the conditional `allowVimNav` branches.
- No files require special attention
<!-- greptile_other_comments_section -->
<sub>(4/5) You can add custom instructions or style guidelines for the agent [here](https://app.greptile.com/review/github)!</sub>
**Context used:**
- Context from `dashboard` - CLAUDE.md ([source](https://app.greptile.com/review/custom-context?memory=fd949e91-5c3a-4ab5-90a1-cbe184fd6ce8))
- Context from `dashboard` - AGENTS.md ([source](https://app.greptile.com/review/custom-context?memory=0d0c8278-ef8e-4d6c-ab21-f5527e322f13))
<!-- /greptile_comment -->
Most Similar PRs
#7794: fix(tui): refresh session info periodically to reflect config changes
by GuoxiangZu · 2026-02-03
73.9%
#4479: fix(tui): prevent crash when search matches ANSI escape sequences
by bee4come · 2026-01-30
73.8%
#5509: Fix TUI crash when terminal window is too narrow
by omar-khaled-2 · 2026-01-31
72.0%
#7020: feat: add search/filter to model selection in configure wizard
by GuoxiangZu · 2026-02-02
71.8%
#6440: feat(ui): add model picker dialog with provider filtering
by igorls · 2026-02-01
71.7%
#6059: fix #6044
by vivganes · 2026-02-01
71.6%
#16741: feat(wizard): add searchable select for model picker
by zzztimbo · 2026-02-15
71.0%
#8083: fix(tui): update model status immediately after /model command
by rohanjangala · 2026-02-03
70.4%
#12974: fix: intermittent (no output) reported by users
by vincentkoc · 2026-02-10
70.1%
#6819: fix(tui): handle unstructured tool results and errors in tool execu...
by TreyDong · 2026-02-02
69.9%