From 77c8777c7895bd2508adf204c756e80ea8d7582f Mon Sep 17 00:00:00 2001 From: Noboru Saito Date: Wed, 13 Nov 2024 13:46:25 +0900 Subject: [PATCH] Fix help classification --- README.md | 4 ++-- oviewer/keybind.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6cbff04e..3cd9d1d9 100644 --- a/README.md +++ b/README.md @@ -1090,6 +1090,8 @@ It can also be changed after startup. | [C] | * alternate rows of style toggle | | [G] | * line number toggle | | [ctrl+e] | * original decoration toggle(plain) | +| [alt+F] | * align columns | +| [alt+R] | * raw output | | **Change Display with Input** | | | [p], [P] | * view mode selection | | [d] | * column delimiter string | @@ -1098,8 +1100,6 @@ It can also be changed after startup. | [t] | * TAB width | | [.] | * multi color highlight | | [j] | * jump target(`.n` or `n%` or `section` allowed) | -| [alt+F] | * align columns | -| [alt+R] | * raw output | | [alt+t] | * convert type selection | | **Section** | | | [alt+d] | * section delimiter regular expression | diff --git a/oviewer/keybind.go b/oviewer/keybind.go index f287b367..8ab91e57 100644 --- a/oviewer/keybind.go +++ b/oviewer/keybind.go @@ -344,6 +344,8 @@ func (k KeyBind) String() string { k.writeKeyBind(&b, actionAlternate, "alternate rows of style toggle") k.writeKeyBind(&b, actionLineNumMode, "line number toggle") k.writeKeyBind(&b, actionPlain, "original decoration toggle(plain)") + k.writeKeyBind(&b, actionAlignFormat, "align columns") + k.writeKeyBind(&b, actionRawFormat, "raw output") writeHeader(&b, "Change Display with Input") k.writeKeyBind(&b, actionViewMode, "view mode selection") @@ -353,8 +355,6 @@ func (k KeyBind) String() string { k.writeKeyBind(&b, actionTabWidth, "TAB width") k.writeKeyBind(&b, actionMultiColor, "multi color highlight") k.writeKeyBind(&b, actionJumpTarget, "jump target(`.n` or `n%` or `section` allowed)") - k.writeKeyBind(&b, actionAlignFormat, "align columns") - k.writeKeyBind(&b, actionRawFormat, "raw output") k.writeKeyBind(&b, actionConvertType, "convert type selection") writeHeader(&b, "Section")