aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.h
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-03-29 20:22:43 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-03-29 20:22:43 +0530
commit267dc04f6c2df2f46860babedc369727956aca2d (patch)
tree579f892a9d35e2ddc44bcda1a8d4a82c28b5375c /src/nnn.h
parentd2e83b2cfebdb96baf23df35ef7e82d266a8f4c5 (diff)
downloadnnn-267dc04f6c2df2f46860babedc369727956aca2d.tar.gz
Reduce presel usage
Diffstat (limited to 'src/nnn.h')
-rw-r--r--src/nnn.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/nnn.h b/src/nnn.h
index 4bfaf12..eafaff0 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -92,12 +92,12 @@ enum action {
SEL_RUNCMD,
SEL_LOCK,
SEL_SESSIONS,
+ SEL_EXPORT,
+ SEL_TIMETYPE,
SEL_QUITCTX,
SEL_QUITCD,
SEL_QUIT,
SEL_QUITFAIL,
- SEL_EXPORT,
- SEL_TIMETYPE,
#ifndef NOMOUSE
SEL_CLICK,
#endif
@@ -241,6 +241,10 @@ static struct key bindings[] = {
{ '0', SEL_LOCK },
/* Manage sessions */
{ 's', SEL_SESSIONS },
+ /* Export list */
+ { '>', SEL_EXPORT },
+ /* Set time type */
+ { 'T', SEL_TIMETYPE },
/* Quit a context */
{ 'q', SEL_QUITCTX },
/* Change dir on quit */
@@ -249,10 +253,6 @@ static struct key bindings[] = {
{ CONTROL('Q'), SEL_QUIT },
/* Quit with an error code */
{ 'Q', SEL_QUITFAIL },
- /* Export list */
- { '>', SEL_EXPORT },
- /* Set time type */
- { 'T', SEL_TIMETYPE },
#ifndef NOMOUSE
{ KEY_MOUSE, SEL_CLICK },
#endif