feat: add hjkl navigation alongside the arrow keys (#29)

Layer vim-style h/j/k/l onto the existing arrow navigation across the sidebar, results, downloads, and seeding. Arrows unchanged.
This commit is contained in:
Avinash Gundimeda
2026-07-01 02:36:45 -04:00
committed by GitHub
parent 1b53ef3094
commit 6ba3e4292b
8 changed files with 30 additions and 26 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ export const HELP_GROUPS: HelpGroup[] = [
{
title: "Navigate",
hints: [
{ keys: "↑ ↓ ← →", label: "Navigate content and panes" },
{ keys: "↑ ↓ ← →, h j k l", label: "Navigate content and panes" },
{ keys: "↵", label: "Open" },
{ keys: "tab", label: "Switch pane" },
{ keys: "esc", label: "Back" },
@@ -53,7 +53,7 @@ export const HELP_GROUPS: HelpGroup[] = [
// Footer labels stay terse so the contextual hint row never wraps; the `?`
// overlay (HELP_GROUPS) carries the full, descriptive list.
const NAVIGATE: Hint = { keys: "↑↓←→", label: "Move" };
const NAVIGATE: Hint = { keys: "↑↓←→ hjkl", label: "Move" };
const ALWAYS: Hint = { keys: "?", label: "Keys" };