aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nnn.h')
-rw-r--r--src/nnn.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nnn.h b/src/nnn.h
index 4db7d95..c8afb96 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -72,6 +72,7 @@ enum action {
SEL_BSIZE, /* block size */
SEL_EXTN, /* order by extension */
SEL_MTIME,
+ SEL_VERSION,
SEL_REDRAW,
SEL_SEL,
SEL_SELMUL,
@@ -194,6 +195,8 @@ static struct key bindings[] = {
{ 'E', SEL_EXTN },
/* Toggle sort by time */
{ 't', SEL_MTIME },
+ /* Toggle version sort */
+ { 'v', SEL_VERSION },
/* Redraw window */
{ CONTROL('L'), SEL_REDRAW },
{ KEY_F(5), SEL_REDRAW },