aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.h
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-02 23:13:56 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-02 23:36:08 +0530
commitc92c5c7b1576dd3ab13c055ed399ad0f09d74bbc (patch)
treeca7323488eb18be71f0d9af814e6ad23e1febbec /src/nnn.h
parente1c91e1aefc1a20e738fc1b4d5b2a612ff959ffd (diff)
downloadnnn-c92c5c7b1576dd3ab13c055ed399ad0f09d74bbc.tar.gz
Support toggle exe
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 4ef40bf..4e1311c 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -65,6 +65,7 @@ enum action {
SEL_TOGGLEDOT,
SEL_DETAIL,
SEL_STATS,
+ SEL_CHMODX,
SEL_ARCHIVE,
SEL_FSIZE, /* file size */
SEL_ASIZE, /* apparent size */
@@ -177,6 +178,8 @@ static struct key bindings[] = {
{ 'd', SEL_DETAIL },
/* File details */
{ 'D', SEL_STATS },
+ /* Toggle executable status */
+ { '*', SEL_CHMODX },
/* Create archive */
{ 'i', SEL_ARCHIVE },
/* Toggle sort by size */