mirror of
https://github.com/jarun/nnn.git
synced 2025-03-12 17:54:04 +00:00
Key : to run plugin
This commit is contained in:
parent
5259eb3f61
commit
7c8df20bea
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
```
|
||||
|
|
|
@ -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"};
|
||||
|
||||
|
|
|
@ -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 },
|
||||
|
|
Loading…
Add table
Reference in a new issue