commit fa052966da28a926227a6f97f9e715b088b773b3
parent 698c07b57a7d66aef15e9b52b80ee48506f22fa0
Author: William Casarin <jb55@jb55.com>
Date: Thu, 20 Nov 2025 06:40:55 -0800
input: support vi-like key nav as well
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/crates/notedeck_columns/src/app.rs b/crates/notedeck_columns/src/app.rs
@@ -83,11 +83,11 @@ fn handle_egui_events(
// Browser-like navigation: Cmd+Arrow (macOS) / Ctrl+Arrow (others)
if (modifiers.ctrl || modifiers.command) && !modifiers.shift && !modifiers.alt {
match key {
- egui::Key::ArrowLeft => {
+ egui::Key::ArrowLeft | egui::Key::H => {
columns.get_selected_router().go_back();
continue;
}
- egui::Key::ArrowRight => {
+ egui::Key::ArrowRight | egui::Key::L => {
columns.get_selected_router().go_forward();
continue;
}