From 79cbc40a7f6c6b6b297322bf817ef070901133fc Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 1 Oct 2017 04:28:48 +0530 Subject: [PATCH] Change archive list shortcut to 'F' --- README.md | 2 ++ nnn.1 | 2 +- nnn.c | 2 +- nnn.h | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index af6e2796..5283b5cc 100644 --- a/README.md +++ b/README.md @@ -231,6 +231,8 @@ Search keyword and option completion scripts for Bash, Fish and Zsh can be found e | Edit entry in EDITOR o | Open dir in file manager p | Open entry in PAGER + F | List archive + ^X | Extract archive ^K | Invoke file path copier ^L | Redraw, clear prompt ? | Help, settings diff --git a/nnn.1 b/nnn.1 index a78c067d..26ec8854 100644 --- a/nnn.1 +++ b/nnn.1 @@ -93,7 +93,7 @@ Open current entry in EDITOR (fallback vi) Open directory in NNN_DE_FILE_MANAGER .It Ic p Open current entry in PAGER (fallback less) -.It Ic f +.It Ic F List files in archive .It Ic ^X Extract archive in current directory diff --git a/nnn.c b/nnn.c index e7318d0a..c9b17617 100644 --- a/nnn.c +++ b/nnn.c @@ -1692,7 +1692,7 @@ show_help(char *path) "ee | Edit entry in EDITOR\n" "eo | Open dir in file manager\n" "ep | Open entry in PAGER\n" - "ef | List archive\n" + "eF | List archive\n" "d^X | Extract archive\n" "d^K | Invoke file path copier\n" "d^L | Redraw, clear prompt\n" diff --git a/nnn.h b/nnn.h index 020cb14b..e904c84d 100644 --- a/nnn.h +++ b/nnn.h @@ -134,7 +134,7 @@ static struct key bindings[] = { /* Open dir in desktop file manager */ { 'o', SEL_DFB, "", "" }, /* List archive */ - { 'f', SEL_LIST, "-l", "" }, + { 'F', SEL_LIST, "-l", "" }, /* Extract archive */ { CONTROL('X'), SEL_EXTRACT, "-x", "" }, /* Toggle sort by size */