diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-01-13 03:49:28 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-01-13 03:49:28 +0530 |
commit | 5fb4d637eefc9aa4ca10c79b837f6f8930d9f68b (patch) | |
tree | 9c2fd2016a9aa42e7531157d8ccf4385810a3279 /src/nnn.h | |
parent | 341628755329d2dfd637751a982ac3dc0466c8be (diff) | |
download | nnn-5fb4d637eefc9aa4ca10c79b837f6f8930d9f68b.tar.gz |
Order toggle re-factor
Diffstat (limited to 'src/nnn.h')
-rw-r--r-- | src/nnn.h | 19 |
1 files changed, 4 insertions, 15 deletions
@@ -67,6 +67,7 @@ enum action { SEL_STATS, SEL_CHMODX, SEL_ARCHIVE, + SEL_ORDER, SEL_FSIZE, /* file size */ SEL_ASIZE, /* apparent size */ SEL_BSIZE, /* block size */ @@ -183,21 +184,9 @@ static struct key bindings[] = { { '*', SEL_CHMODX }, /* Create archive */ { 'i', SEL_ARCHIVE }, - /* Toggle sort by size */ - { 'z', SEL_FSIZE }, - /* Sort by apparent size including dir contents */ - { 'A', SEL_ASIZE }, - /* Sort by total block count including dir contents */ - { 'S', SEL_BSIZE }, - /* Sort by file extension */ - { 'E', SEL_EXTN }, - /* Toggle sort by time */ - { 't', SEL_MTIME }, - /* Toggle reverse sort */ - { 'R', SEL_REVERSE }, - { CONTROL('T'), SEL_REVERSE }, - /* Toggle version sort */ - { 'v', SEL_VERSION }, + /* Order toggle */ + { 'o', SEL_ORDER }, + { CONTROL('T'), SEL_ORDER }, /* Redraw window */ { CONTROL('L'), SEL_REDRAW }, { KEY_F(5), SEL_REDRAW }, |