fix(discovery): update page keybindings

This commit is contained in:
objz committed 2026-07-28 14:12:38 +02:00
1 parent 1742f62cd0
commit e14075ad8d
11 files changed
+87 -31

No files matched your search

+8 -5
View File
@@ -281,13 +281,16 @@ pub fn render(
(ContentMode::Discover, _) if discovery_unavailable => {
&[("h/l", " tabs"), ("Tab", " installed")]
}
(ContentMode::Discover, _) if discovery_page_open => {
&[("j/k", " scroll"), ("g/G", " top/bottom"), ("h", " back")]
}
(ContentMode::Discover, _) if discovery_page_open => &[
("j/k", " scroll"),
("g/G", " top/bottom"),
("v", " versions"),
("h", " back"),
],
(ContentMode::Discover, _) if discovery_can_delete => &[
("j/k", " navigate"),
("Enter", " view"),
("i", " versions"),
("v", " versions"),
("d", " delete"),
("h/l", " tabs"),
("/", " search"),
@@ -296,7 +299,7 @@ pub fn render(
(ContentMode::Discover, _) => &[
("j/k", " navigate"),
("Enter", " view"),
("i", " versions"),
("v", " versions"),
("h/l", " tabs"),
("/", " search"),
("Tab", " installed"),