mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
Key : to run plugin
This commit is contained in:
parent
5259eb3f61
commit
7c8df20bea
|
@ -259,7 +259,7 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
|
||||||
s Size E Extn t Time modified
|
s Size E Extn t Time modified
|
||||||
MISC
|
MISC
|
||||||
! ^] Shell ^N Note L Lock
|
! ^] 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
|
c SSHFS mount u Unmount
|
||||||
^P Prompt = Launcher
|
^P Prompt = Launcher
|
||||||
```
|
```
|
||||||
|
|
|
@ -1755,7 +1755,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 '>':
|
case ':':
|
||||||
if (len == 1)
|
if (len == 1)
|
||||||
cur = oldcur;
|
cur = oldcur;
|
||||||
goto end;
|
goto end;
|
||||||
|
@ -2855,7 +2855,7 @@ static bool show_help(const char *path)
|
||||||
"cs Size E Extn t Time modified\n"
|
"cs Size E Extn t Time modified\n"
|
||||||
"1MISC\n"
|
"1MISC\n"
|
||||||
"9! ^] Shell ^N Note L Lock \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"
|
"cc SSHFS mount u Unmount\n"
|
||||||
"b^P Prompt = Launcher\n"};
|
"b^P Prompt = Launcher\n"};
|
||||||
|
|
||||||
|
|
|
@ -235,7 +235,7 @@ static struct key bindings[] = {
|
||||||
{ CONTROL(']'), SEL_SHELL },
|
{ CONTROL(']'), SEL_SHELL },
|
||||||
/* Plugin key */
|
/* Plugin key */
|
||||||
{ 'x', SEL_PLUGKEY },
|
{ 'x', SEL_PLUGKEY },
|
||||||
{ '>', 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