aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.h
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-27 00:24:12 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-27 02:06:57 +0530
commit7db777756f994a8d121f7fa2f8fce6b9a8da16e3 (patch)
treee487d26d4f859e81d0225e3d928525a048db1fde /src/nnn.h
parentc3b2ace9fd10389ed09a6664b34fd528da22f281 (diff)
downloadnnn-7db777756f994a8d121f7fa2f8fce6b9a8da16e3.tar.gz
Option to disable file open on Right and `l`
Diffstat (limited to 'src/nnn.h')
-rw-r--r--src/nnn.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nnn.h b/src/nnn.h
index 6802167..4b13d91 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -38,6 +38,7 @@
enum action {
SEL_BACK = 1,
SEL_GOIN,
+ SEL_NAV_IN,
SEL_NEXT,
SEL_PREV,
SEL_PGDN,
@@ -117,8 +118,8 @@ static struct key bindings[] = {
/* Inside */
{ KEY_ENTER, SEL_GOIN, "", "" },
{ '\r', SEL_GOIN, "", "" },
- { KEY_RIGHT, SEL_GOIN, "", "" },
- { 'l', SEL_GOIN, "", "" },
+ { KEY_RIGHT, SEL_NAV_IN, "", "" },
+ { 'l', SEL_NAV_IN, "", "" },
/* Next */
{ 'j', SEL_NEXT, "", "" },
{ KEY_DOWN, SEL_NEXT, "", "" },