diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-12-27 13:19:23 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-12-27 13:19:23 +0530 |
commit | bffadf09c5588ac46fe299f7a9655bc5a47eb64a (patch) | |
tree | 1592e3e03902cdfb2e2080434005dd836cd56d08 /src/nnn.h | |
parent | 5676dfe682c7cc4a0301f998b2b93c32a8551701 (diff) | |
download | nnn-bffadf09c5588ac46fe299f7a9655bc5a47eb64a.tar.gz |
Refactor plugin handling
Diffstat (limited to 'src/nnn.h')
-rw-r--r-- | src/nnn.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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 */ |