aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-17 04:11:27 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-17 04:11:27 +0530
commitefa9a6727def06a7019ff3b9706d1ba2f21b4591 (patch)
tree29820cbd4cf9c990dc5a5ddd289b1108ef034fe6
parent37bf6b1010129ba0a25b49e42b78eb5b784d779d (diff)
downloadnnn-efa9a6727def06a7019ff3b9706d1ba2f21b4591.tar.gz
Change the key to size sort to z
-rw-r--r--README.md2
-rw-r--r--src/nnn.c2
-rw-r--r--src/nnn.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 8289c7b..4b0f7b5 100644
--- a/README.md
+++ b/README.md
@@ -218,7 +218,7 @@ The list below is from the **dev branch**. Press <kbd>?</kbd> in `nnn` to see th
e Edit in EDITOR p Open in PAGER
ORDER TOGGLES
A Apparent du S du
- s Size E Extn t Time
+ z Size E Extn t Time
MISC
! ^] Shell C Execute entry
R ^V Pick plugin :K xK Execute plugin K
diff --git a/src/nnn.c b/src/nnn.c
index cb4112d..b84f4e2 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3312,7 +3312,7 @@ static void show_help(const char *path)
"ce Edit in EDITOR p Open in PAGER\n"
"1ORDER TOGGLES\n"
"cA Apparent du S du\n"
- "cs Size E Extn t Time\n"
+ "cz Size E Extn t Time\n"
"1MISC\n"
"9! ^] Shell C Execute entry\n"
"9R ^V Pick plugin :K xK Execute plugin K\n"
diff --git a/src/nnn.h b/src/nnn.h
index d16395d..a576150 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -191,7 +191,7 @@ static struct key bindings[] = {
/* Extract archive */
{ CONTROL('F'), SEL_EXTRACT },
/* Toggle sort by size */
- { 's', SEL_FSIZE },
+ { 'z', SEL_FSIZE },
/* Sort by apparent size including dir contents */
{ 'A', SEL_ASIZE },
/* Sort by total block count including dir contents */