diff --git a/src/main.rs b/src/main.rs index 32cd5af..5c2c01a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -203,6 +203,15 @@ where { app.scroll_up(1); }, + // RFC page scroll in normal mode + (AppMode::Normal, KeyCode::Char('h')) => + { + app.scroll_down(56); + }, + (AppMode::Normal, KeyCode::Char('l')) => + { + app.scroll_up(56); + }, // Scroll the whole viewpoint ( AppMode::Normal, diff --git a/src/ui/app.rs b/src/ui/app.rs index eb8f57d..19cdadb 100644 --- a/src/ui/app.rs +++ b/src/ui/app.rs @@ -428,6 +428,7 @@ impl App Line::from(""), // Vim-like navigation Line::from("j/k or ↓/↑: Scroll down/up"), + Line::from("h/l: RFC page Scroll down/up"), Line::from("f/b or PgDn/PgUp: Scroll page down/up"), Line::from("g/G: Go to start/end of document"), Line::from(""),