diff --git a/README.md b/README.md index 8289c7b4..4b0f7b5c 100644 --- a/README.md +++ b/README.md @@ -218,7 +218,7 @@ The list below is from the **dev branch**. Press ? 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 cb4112d4..b84f4e2a 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 d16395d1..a5761505 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 */