aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-01-30 19:32:13 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-01-30 19:32:13 +0530
commitcad067a2114d48446f08898fc6b566ecbc6176f6 (patch)
tree76f9b47f3d6c2c171e37e85b0eb685fa9c3c3581
parent81318f9218adaeae3044d1d93ee4700cb056752d (diff)
downloadnnn-cad067a2114d48446f08898fc6b566ecbc6176f6.tar.gz
More concise help
-rw-r--r--README.md54
-rw-r--r--src/nnn.c56
2 files changed, 55 insertions, 55 deletions
diff --git a/README.md b/README.md
index 47b14a6..a8451a7 100644
--- a/README.md
+++ b/README.md
@@ -215,37 +215,37 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
```
NAVIGATION
- ↑, k Up PgUp, ^U Scroll up
- ↓, j Down PgDn, ^D Scroll down
- ←, h Parent dir ~ Go HOME
- ↵, →, l Open file/dir & Start dir
- Home, g, ^A First entry - Last visited dir
- End, G, ^E Last entry . Toggle show hidden
- / Filter Ins, ^T Toggle nav-as-you-type
- b Pin current dir ^B Go to pinned dir
- Tab, ^I Next context d Toggle detail view
- `, ^/ Leader key N, LeadN Go to/create context N
- Esc Exit prompt ^L Redraw/clear prompt
- ^G Quit and cd q Quit context
- Q, ^Q Quit ? Help, config
+ ↑ k Up PgUp ^U Scroll up
+ ↓ j Down PgDn ^D Scroll down
+ ← h Parent dir ~ Go HOME
+ ↵ → l Open file/dir & Start dir
+ Home g ^A First entry - Last visited dir
+ End G ^E Last entry . Toggle show hidden
+ / Filter Ins ^T Toggle nav-as-you-type
+ b Pin current dir ^B Go to pinned dir
+ Tab ^I Next context d Toggle detail view
+ ` ^/ Leader key N LeadN Go to/create context N
+ Esc Exit prompt ^L Redraw/clear prompt
+ ^G Quit and cd q Quit context
+ Q ^Q Quit ? Help, config
FILES
- ^O Open with... n Create new/link
- D File details ^R Rename entry
- ⎵, ^K Copy entry path r Open dir in vidir
- ^Y Toggle selection y List selection
+ ^O Open with... n Create new/link
+ D File details ^R Rename entry
+ ⎵ ^K Copy entry path r Open dir in vidir
+ ^Y Toggle selection y List selection
Y Select all
- P Copy selection X Delete selection
- V Move selection ^X Delete entry
- f Archive entry F List archive
- ^F Extract archive m, M Brief/full media info
- e Edit in EDITOR p Open in PAGER
+ P Copy selection X Delete selection
+ V Move selection ^X Delete entry
+ f Archive entry F List archive
+ ^F Extract archive m M Brief/full media info
+ e Edit in EDITOR p Open in PAGER
ORDER TOGGLES
- ^J Disk usage S Apparent du
- t Modification time s Size
+ ^J Disk usage S Apparent du
+ t Modification time s Size
MISC
- !, ^] Spawn SHELL in dir C Execute entry
- R, ^V Run custom script L Lock terminal
- ^P Command prompt N, ^N Take note
+ ! ^] Spawn SHELL C Execute entry
+ R ^V Run/choose script L Lock terminal
+ ^P Command prompt N ^N Take note
```
Help & settings, file details, media info and archive listing are shown in the PAGER. Please use the PAGER-specific keys in these screens.
diff --git a/src/nnn.c b/src/nnn.c
index 7e3c939..8d6324e 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2256,37 +2256,37 @@ static bool show_help(char *path)
static char helpstr[] = {
"0\n"
"1NAVIGATION\n"
- "9↑, k Up PgUp, ^U Scroll up\n"
- "9↓, j Down PgDn, ^D Scroll down\n"
- "9←, h Parent dir ~ Go HOME\n"
- "6↵, →, l Open file/dir & Start dir\n"
- "2Home, g, ^A First entry - Last visited dir\n"
- "3End, G, ^E Last entry . Toggle show hidden\n"
- "c/ Filter Ins, ^T Toggle nav-as-you-type\n"
- "cb Pin current dir ^B Go to pinned dir\n"
- "6Tab, ^I Next context d Toggle detail view\n"
- "8`, ^/ Leader key N, LeadN Go to/create context N\n"
- "aEsc Exit prompt ^L Redraw/clear prompt\n"
- "b^G Quit and cd q Quit context\n"
- "8Q, ^Q Quit ? Help, config\n"
+ "a↑ k Up PgUp ^U Scroll up\n"
+ "a↓ j Down PgDn ^D Scroll down\n"
+ "a← h Parent dir ~ Go HOME\n"
+ "8↵ → l Open file/dir & Start dir\n"
+ "4Home g ^A First entry - Last visited dir\n"
+ "5End G ^E Last entry . Toggle show hidden\n"
+ "c/ Filter Ins ^T Toggle nav-as-you-type\n"
+ "cb Pin current dir ^B Go to pinned dir\n"
+ "7Tab ^I Next context d Toggle detail view\n"
+ "9` ^/ Leader key N LeadN Go to/create context N\n"
+ "aEsc Exit prompt ^L Redraw/clear prompt\n"
+ "b^G Quit and cd q Quit context\n"
+ "9Q ^Q Quit ? Help, config\n"
"1FILES\n"
- "b^O Open with... n Create new/link\n"
- "cD File details ^R Rename entry\n"
- "8⎵, ^K Copy entry path r Open dir in vidir\n"
- "b^Y Toggle selection y List selection\n"
- "cY Select all\n"
- "cP Copy selection X Delete selection\n"
- "cV Move selection ^X Delete entry\n"
- "cf Archive entry F List archive\n"
- "b^F Extract archive m, M Brief/full media info\n"
- "ce Edit in EDITOR p Open in PAGER\n"
+ "b^O Open with... n Create new/link\n"
+ "cD File details ^R Rename entry\n"
+ "9⎵ ^K Copy entry path r Open dir in vidir\n"
+ "b^Y Toggle selection y List selection\n"
+ "cY Select all\n"
+ "cP Copy selection X Delete selection\n"
+ "cV Move selection ^X Delete entry\n"
+ "cf Archive entry F List archive\n"
+ "b^F Extract archive m M Brief/full media info\n"
+ "ce Edit in EDITOR p Open in PAGER\n"
"1ORDER TOGGLES\n"
- "b^J Disk usage S Apparent du\n"
- "ct Modification time s Size\n"
+ "b^J Disk usage S Apparent du\n"
+ "ct Modification time s Size\n"
"1MISC\n"
- "8!, ^] Spawn SHELL in dir C Execute entry\n"
- "8R, ^V Run custom script L Lock terminal\n"
- "b^P Command prompt N, ^N Take note\n"};
+ "9! ^] Spawn SHELL C Execute entry\n"
+ "9R ^V Run/choose script L Lock terminal\n"
+ "b^P Command prompt N ^N Take note\n"};
if (fd == -1)
return FALSE;