From 6c39d87cdffa50921b984ba4e9a4be536deb88ad Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 15 Sep 2019 19:11:10 +0530 Subject: [PATCH] Key > to run plugin --- src/nnn.c | 1 + src/nnn.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nnn.c b/src/nnn.c index 9c2dc133..bf8f498e 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -1751,6 +1751,7 @@ static int filterentries(char *path) switch (*ch) { case '/': /* works as Leader key in filter mode */ *ch = CONTROL('_'); // fallthrough + case '>': if (len == 1) cur = oldcur; goto end; diff --git a/src/nnn.h b/src/nnn.h index 8c98b1e6..c3ccaab1 100644 --- a/src/nnn.h +++ b/src/nnn.h @@ -235,7 +235,7 @@ static struct key bindings[] = { { CONTROL(']'), SEL_SHELL }, /* Plugin key */ { 'x', SEL_PLUGKEY }, - { KEY_F(12), SEL_PLUGKEY }, + { '>', SEL_PLUGKEY }, /* Run a plugin */ { 'R', SEL_PLUGIN }, { CONTROL('V'), SEL_PLUGIN },