From 44ea0fd10445ee4a6dcc923655947d5af719cb47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luka=20Marku=C5=A1i=C4=87?= Date: Tue, 7 May 2024 23:14:35 +0200 Subject: [PATCH] Appease the vim users after a recent slip --- src/toolong/help.py | 2 +- src/toolong/log_lines.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/toolong/help.py b/src/toolong/help.py index 068959d..971005f 100644 --- a/src/toolong/help.py +++ b/src/toolong/help.py @@ -25,7 +25,7 @@ ### Navigation - `tab` / `shift+tab` to navigate between widgets. -- `home` or `G` / `end` or `g` Jump to start or end of file. Press `end` a second time to *tail* the current file. +- `home` or `g` / `end` or `G` Jump to start or end of file. Press `end` a second time to *tail* the current file. - `page up` / `page down` or `space` to go to the next / previous page. - `←` or `h` / `→` or `l` Scroll left / right. - `↑` or `w` or `k` / `↓` or `s` or `j` Move up / down a line. diff --git a/src/toolong/log_lines.py b/src/toolong/log_lines.py index 7354ddc..52b2f4f 100644 --- a/src/toolong/log_lines.py +++ b/src/toolong/log_lines.py @@ -133,8 +133,8 @@ class LogLines(ScrollView, inherit_bindings=False): Binding("down,s,j", "scroll_down", "Scroll Down", show=False), Binding("left,h", "scroll_left", "Scroll Left", show=False), Binding("right,l", "scroll_right", "Scroll Right", show=False), - Binding("home,G", "scroll_home", "Scroll Home", show=False), - Binding("end,g", "scroll_end", "Scroll End", show=False), + Binding("home,g", "scroll_home", "Scroll Home", show=False), + Binding("end,G", "scroll_end", "Scroll End", show=False), Binding("pageup,b", "page_up", "Page Up", show=False), Binding("pagedown,space", "page_down", "Page Down", show=False), Binding("enter", "select", "Select line", show=False),