From 2446d7c68c0557b8a921e1e2c2e801ee817daff8 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sat, 28 Sep 2019 22:15:49 +0530 Subject: [PATCH] Update help screen --- README.md | 12 ++++++------ src/nnn.c | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 460b528b..09d8012f 100644 --- a/README.md +++ b/README.md @@ -232,8 +232,8 @@ Press ? in `nnn` to see the list anytime. , ^/ Lead key N LeadN Context N / Filter/Lead Ins ^T Toggle nav-as-you-type Esc Exit prompt ^L F5 Redraw/clear prompt - q Quit context Lead' First file - Q ^Q Quit ^G QuitCD ? Help, config + ? Help, config Lead' First file + Q ^Q Quit ^G QuitCD q Quit context FILES ^O Open with... n Create new/link D File detail ^R F2 Rename/duplicate @@ -245,13 +245,13 @@ Press ? in `nnn` to see the list anytime. ^F Extract archive F List archive e Edit in EDITOR p Open in PAGER ORDER TOGGLES - S du A Apparent du - s Size E Extn t Time modified + A Apparent du S du + s Size E Extn t Time MISC ! ^] Shell = Launcher R ^V Pick plugin :K xK Run plugin key K c SSHFS mount u Unmount - ^P Prompt/run expr L Lock + ^P Prompt/run cmd L Lock ``` Note: Help & settings, file details and archive listing are shown in the `$PAGER`. @@ -275,7 +275,7 @@ The Leader/Lead key provides a powerful multi-functional navigation mechanism. I | [ | Go to previous active context | | key | Go to bookmarked location | | ' | Go to first file in directory | -| ~ ` @ - | Go to HOME, `/`, start, last visited dir | +| ~ ` @ - | Visit HOME, `/`, start, last visited dir | | . | Toggle show hidden files | | q | Quit context | diff --git a/src/nnn.c b/src/nnn.c index 5e71f9e0..6ce0751a 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -2842,8 +2842,8 @@ static bool show_help(const char *path) "9, ^/ Lead key N LeadN Context N\n" "c/ Filter/Lead Ins ^T Toggle nav-as-you-type\n" "aEsc Exit prompt ^L F5 Redraw/clear prompt\n" - "cq Quit context Lead' First file\n" - "9Q ^Q Quit ^G QuitCD ? Help, config\n" + "c? Help, config Lead' First file\n" + "9Q ^Q Quit ^G QuitCD q Quit context\n" "1FILES\n" "b^O Open with... n Create new/link\n" "cD File detail ^R F2 Rename/duplicate\n" @@ -2855,13 +2855,13 @@ static bool show_help(const char *path) "b^F Extract archive F List archive\n" "ce Edit in EDITOR p Open in PAGER\n" "1ORDER TOGGLES\n" - "cS du A Apparent du\n" - "cs Size E Extn t Time modified\n" + "cA Apparent du S du\n" + "cs Size E Extn t Time\n" "1MISC\n" "9! ^] Shell = Launcher\n" "9R ^V Pick plugin :K xK Run plugin key K\n" "cc SSHFS mount u Unmount\n" - "b^P Prompt/run expr L Lock\n"}; + "b^P Prompt/run cmd L Lock\n"}; fd = create_tmp_file(); if (fd == -1)