Key > to run plugin

This commit is contained in:
Arun Prakash Jana 2019-09-15 19:11:10 +05:30
parent e68e8ad8a5
commit 6c39d87cdf
No known key found for this signature in database
GPG key ID: A75979F35C080412
2 changed files with 2 additions and 1 deletions

View file

@ -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;

View file

@ -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 },