mirror of
https://github.com/baairon/torlink.git
synced 2026-07-08 18:28:22 +02:00
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:
+2
-2
@@ -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" };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user