aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.h
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-28 11:15:38 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-28 11:15:38 +0530
commite3e6e1671a294ba7ad46b4ed780fae064e65904a (patch)
treeff50595fd1ab8085ce046afdcb2e1008bfe4689e /src/nnn.h
parentd13fea6fa26ff9e9940cde310a90d21482bcaaa2 (diff)
downloadnnn-e3e6e1671a294ba7ad46b4ed780fae064e65904a.tar.gz
Keybind v for version sort
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 },