aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.h
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-27 13:19:23 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-27 13:19:23 +0530
commitbffadf09c5588ac46fe299f7a9655bc5a47eb64a (patch)
tree1592e3e03902cdfb2e2080434005dd836cd56d08 /src/nnn.h
parent5676dfe682c7cc4a0301f998b2b93c32a8551701 (diff)
downloadnnn-bffadf09c5588ac46fe299f7a9655bc5a47eb64a.tar.gz
Refactor plugin handling
Diffstat (limited to 'src/nnn.h')
-rw-r--r--src/nnn.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/nnn.h b/src/nnn.h
index 8a495d1..4db7d95 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -91,10 +91,10 @@ enum action {
SEL_REMOTE,
SEL_UMOUNT,
SEL_HELP,
- SEL_EXEC,
- SEL_SHELL,
SEL_PLUGKEY,
SEL_PLUGIN,
+ SEL_EXEC,
+ SEL_SHELL,
SEL_LAUNCH,
SEL_RUNCMD,
SEL_RUNEDIT,
@@ -237,17 +237,17 @@ static struct key bindings[] = {
{ 'u', SEL_UMOUNT },
/* Show help */
{ '?', SEL_HELP },
- /* Execute file */
- { 'C', SEL_EXEC },
- /* Run command */
- { '!', SEL_SHELL },
- { CONTROL(']'), SEL_SHELL },
/* Plugin key */
{ 'x', SEL_PLUGKEY },
{ ';', SEL_PLUGKEY },
/* Run a plugin */
{ 'i', SEL_PLUGIN },
{ CONTROL('V'), SEL_PLUGIN },
+ /* Execute file */
+ { 'C', SEL_EXEC },
+ /* Run command */
+ { '!', SEL_SHELL },
+ { CONTROL(']'), SEL_SHELL },
/* Launcher */
{ '=', SEL_LAUNCH },
/* Run a command */