Key : to run plugin

This commit is contained in:
Arun Prakash Jana 2019-09-15 22:50:44 +05:30
parent 5259eb3f61
commit 7c8df20bea
No known key found for this signature in database
GPG key ID: A75979F35C080412
3 changed files with 4 additions and 4 deletions

View file

@ -259,7 +259,7 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
s Size E Extn t Time modified
MISC
! ^] Shell ^N Note L Lock
R ^V Pick plugin F12 xK Run plugin key K
R ^V Pick plugin :K xK Run plugin key K
c SSHFS mount u Unmount
^P Prompt = Launcher
```

View file

@ -1755,7 +1755,7 @@ static int filterentries(char *path)
switch (*ch) {
case '/': /* works as Leader key in filter mode */
*ch = CONTROL('_'); // fallthrough
case '>':
case ':':
if (len == 1)
cur = oldcur;
goto end;
@ -2855,7 +2855,7 @@ static bool show_help(const char *path)
"cs Size E Extn t Time modified\n"
"1MISC\n"
"9! ^] Shell ^N Note L Lock \n"
"9R ^V Pick plugin F12 xK Run plugin key K\n"
"9R ^V Pick plugin :K xK Run plugin key K\n"
"cc SSHFS mount u Unmount\n"
"b^P Prompt = Launcher\n"};

View file

@ -235,7 +235,7 @@ static struct key bindings[] = {
{ CONTROL(']'), SEL_SHELL },
/* Plugin key */
{ 'x', SEL_PLUGKEY },
{ '>', SEL_PLUGKEY },
{ ':', SEL_PLUGKEY },
/* Run a plugin */
{ 'R', SEL_PLUGIN },
{ CONTROL('V'), SEL_PLUGIN },