diff options
author | qkzk <qu3nt1n@gmail.com> | 2024-01-07 19:24:28 +0100 |
---|---|---|
committer | qkzk <qu3nt1n@gmail.com> | 2024-01-07 19:24:28 +0100 |
commit | 82edb7f8efe7102589ec5f169908992dd2457a59 (patch) | |
tree | e56587f8b95c82446bab92ef6580efcd6890db2f | |
parent | 49af3b9e97587f2c21c4d41a51ffb5ef3dfde1c1 (diff) |
update the help
-rw-r--r-- | readme.md | 24 | ||||
-rw-r--r-- | src/modes/edit/help.rs | 17 |
2 files changed, 27 insertions, 14 deletions
@@ -205,13 +205,13 @@ Ctrl('h') : help - Navigation - Left : cd to parent directory -Right : cd to child directory +Char('l') : cd to child directory Up : one line up -Down : one line down +Char('j') : one line down Home : go to first line Char('G') : go to last line PageUp : 10 lines up -PageDown : 10 lines down +Char('J') : 10 lines down Tab : cycle tab - Actions - @@ -272,10 +272,17 @@ Char('z') : Fold a node Ctrl('z') : Fold every node Char('Z') : Unfold every node -- MODES - -Char('t') : TREE + - DISPLAY MODES - +Different modes for the main window +Ctrl('q') : NORMAL +Char('t') : TREE +Char('F') : FLAGGED +Char('P') : PREVIEW + + - EDIT MODES - +Different modes for the bottom window Alt('m') : CHMOD -Char('e') : EXEC +Char('e') : OPEN WITH Char('d') : NEWDIR Char('n') : NEWFILE Char('r') : RENAME @@ -290,15 +297,14 @@ Alt('e') : ENCRYPTED DRIVE Alt('R') : REMOVABLE MTP DEVICES (m: mount, u: unmount, g: go there) Char('/') : SEARCH -Char(':') : COMMAND +Char(':') : ACTION Alt('b') : BULK Alt('s') : TUI APPS Alt('i') : CLI APPS Alt('r') : MOUNT REMOTE PATH Alt('f') : FILTER - (by name "n name", by ext "e ext", only directories d or all for reset) + (by name "n name", by ext "e ext", "d only directories" or "a all" for reset) Enter : Execute mode then NORMAL -Ctrl('q') : NORMAL - MOC - Control MOC from your TUI diff --git a/src/modes/edit/help.rs b/src/modes/edit/help.rs index 349557f..dcd09ee 100644 --- a/src/modes/edit/help.rs +++ b/src/modes/edit/help.rs @@ -79,9 +79,16 @@ Navigate as usual. Most actions works as in 'normal' view. {TreeFold:<10}: Fold a node {TreeFoldAll:<10}: Fold every node {TreeUnFoldAll:<10}: Unfold every node - -- MODES - -{Tree:<10}: TREE + + - DISPLAY MODES - +Different modes for the main window +{ResetMode:<10}: NORMAL +{Tree:<10} : TREE +{DisplayFlagged} : FLAGGED +{Preview} : PREVIEW + + - EDIT MODES - +Different modes for the bottom window {Chmod:<10}: CHMOD {Exec:<10}: OPEN WITH {NewDir:<10}: NEWDIR @@ -104,9 +111,8 @@ Navigate as usual. Most actions works as in 'normal' view. {CliMenu:<10}: CLI APPS {RemoteMount:<10}: MOUNT REMOTE PATH {Filter:<10}: FILTER - (by name \"n name\", by ext \"e ext\", only directories d or all for reset) + (by name \"n name\", by ext \"e ext\", \"d only directories\" or \"a all\" for reset) {Enter:<10}: Execute mode then NORMAL -{ResetMode:<10}: NORMAL - MOC - Control MOC from your TUI @@ -155,6 +161,7 @@ fn make_help_with_config(binds: &Bindings, opener: &Opener) -> Result<String> { keybind_reversed.extend(opener.association.as_map_of_strings()); let mut help = strfmt(HELP_TO_FORMAT, &keybind_reversed)?; help = complete_with_custom_binds(&binds.custom, help); + // std::fs::write("help.txt", &help)?; // keep here to save a new version of the help content Ok(help) } |