mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
Key > to run plugin
This commit is contained in:
parent
e68e8ad8a5
commit
6c39d87cdf
|
@ -1751,6 +1751,7 @@ static int filterentries(char *path)
|
||||||
switch (*ch) {
|
switch (*ch) {
|
||||||
case '/': /* works as Leader key in filter mode */
|
case '/': /* works as Leader key in filter mode */
|
||||||
*ch = CONTROL('_'); // fallthrough
|
*ch = CONTROL('_'); // fallthrough
|
||||||
|
case '>':
|
||||||
if (len == 1)
|
if (len == 1)
|
||||||
cur = oldcur;
|
cur = oldcur;
|
||||||
goto end;
|
goto end;
|
||||||
|
|
|
@ -235,7 +235,7 @@ static struct key bindings[] = {
|
||||||
{ CONTROL(']'), SEL_SHELL },
|
{ CONTROL(']'), SEL_SHELL },
|
||||||
/* Plugin key */
|
/* Plugin key */
|
||||||
{ 'x', SEL_PLUGKEY },
|
{ 'x', SEL_PLUGKEY },
|
||||||
{ KEY_F(12), SEL_PLUGKEY },
|
{ '>', SEL_PLUGKEY },
|
||||||
/* Run a plugin */
|
/* Run a plugin */
|
||||||
{ 'R', SEL_PLUGIN },
|
{ 'R', SEL_PLUGIN },
|
||||||
{ CONTROL('V'), SEL_PLUGIN },
|
{ CONTROL('V'), SEL_PLUGIN },
|
||||||
|
|
Loading…
Reference in a new issue