aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.h
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-11 00:55:23 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-11 00:55:23 +0530
commitc22bf87f3e23d39a2df939c9079aa193b8b3c336 (patch)
tree9b8d4d8a61112d90ce1282855e17b999ed85f858 /src/nnn.h
parent38414f43493d016e912ca0071a3681a468ed2840 (diff)
downloadnnn-c22bf87f3e23d39a2df939c9079aa193b8b3c336.tar.gz
Enable filter mode when there's a filter
Diffstat (limited to 'src/nnn.h')
-rw-r--r--src/nnn.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nnn.h b/src/nnn.h
index 98ce279..e9fa838 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -72,8 +72,8 @@ enum action {
SEL_BSIZE, /* block size */
SEL_EXTN, /* order by extension */
SEL_MTIME,
- SEL_VERSION,
SEL_REVERSE,
+ SEL_VERSION,
SEL_REDRAW,
SEL_SEL,
SEL_SELMUL,
@@ -193,11 +193,11 @@ static struct key bindings[] = {
{ 'E', SEL_EXTN },
/* Toggle sort by time */
{ 't', SEL_MTIME },
- /* Toggle version sort */
- { 'v', SEL_VERSION },
/* Toggle reverse sort */
{ 'R', SEL_REVERSE },
{ CONTROL('T'), SEL_REVERSE },
+ /* Toggle version sort */
+ { 'v', SEL_VERSION },
/* Redraw window */
{ CONTROL('L'), SEL_REDRAW },
{ KEY_F(5), SEL_REDRAW },