aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-18 00:30:00 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-18 00:30:00 +0530
commit4ee9e2d129854b9062842644b2ca930b79f49c2b (patch)
tree49f71e8edd3e02176e784f2a93c71871909dc0db /src
parentf7fa1ffc8ec818f38a8d480e2b2fa9e4a8babfcb (diff)
downloadnnn-4ee9e2d129854b9062842644b2ca930b79f49c2b.tar.gz
Add key ; to execute plugin
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c5
-rw-r--r--src/nnn.h1
2 files changed, 4 insertions, 2 deletions
diff --git a/src/nnn.c b/src/nnn.c
index ba96805..a9177f0 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2001,6 +2001,7 @@ static int filterentries(char *path)
case '/': /* works as Leader key in filter mode */
*ch = CONTROL('_'); // fallthrough
case ':':
+ case ';':
if (len == 1)
cur = oldcur;
goto end;
@@ -3327,8 +3328,8 @@ static void show_help(const char *path)
"cA Apparent du S du\n"
"cz Size E Extn t Time\n"
"1MISC\n"
- "9! ^] Shell C Execute entry\n"
- "9R ^V Pick plugin :K xK Execute plugin K\n"
+ "9! ^] Shell ;K :K xK Execute plugin K\n"
+ "cC Execute entry R ^V Pick plugin\n"
"cU Manage session = Launch\n"
"cc SSHFS mount u Unmount\n"
"b^P Prompt/run cmd L Lock\n"};
diff --git a/src/nnn.h b/src/nnn.h
index a576150..46579f8 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -250,6 +250,7 @@ static struct key bindings[] = {
/* Plugin key */
{ 'x', SEL_PLUGKEY },
{ ':', SEL_PLUGKEY },
+ { ';', SEL_PLUGKEY },
/* Run a plugin */
{ 'R', SEL_PLUGIN },
{ CONTROL('V'), SEL_PLUGIN },