aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.h
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-03-29 00:42:20 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-03-29 01:58:07 +0530
commit8f3f64b5a67018a9414818cb67c10942ef01012f (patch)
treee71d877ab089a5b545408dbee5bfebf1c362f6e6 /src/nnn.h
parentc3ff380354300004227a51d55f9d6167d72938d2 (diff)
downloadnnn-8f3f64b5a67018a9414818cb67c10942ef01012f.tar.gz
Experimental: retain filter in normal mode
Diffstat (limited to 'src/nnn.h')
-rw-r--r--src/nnn.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/nnn.h b/src/nnn.h
index 4ffce08..c7ce273 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -84,6 +84,7 @@ enum action {
SEL_REMOTE,
SEL_UMOUNT,
SEL_HELP,
+ SEL_AUTONEXT,
SEL_EDIT,
SEL_PLUGIN,
SEL_SHELL,
@@ -91,7 +92,6 @@ enum action {
SEL_RUNCMD,
SEL_LOCK,
SEL_SESSIONS,
- SEL_AUTONEXT,
SEL_QUITCTX,
SEL_QUITCD,
SEL_QUIT,
@@ -223,6 +223,8 @@ static struct key bindings[] = {
{ 'u', SEL_UMOUNT },
/* Show help */
{ '?', SEL_HELP },
+ /* Quit a context */
+ { '+', SEL_AUTONEXT },
/* Edit in EDITOR */
{ 'e', SEL_EDIT },
/* Run a plugin */
@@ -240,8 +242,6 @@ static struct key bindings[] = {
/* Manage sessions */
{ 's', SEL_SESSIONS },
/* Quit a context */
- { '+', SEL_AUTONEXT },
- /* Quit a context */
{ 'q', SEL_QUITCTX },
/* Change dir on quit */
{ CONTROL('G'), SEL_QUITCD },
@@ -249,7 +249,9 @@ 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 },