From c92c5c7b1576dd3ab13c055ed399ad0f09d74bbc Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Thu, 2 Jan 2020 23:13:56 +0530 Subject: Support toggle exe --- src/nnn.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/nnn.h') 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 */ -- cgit v1.2.3-70-g09d2