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
e68e8ad8a5
commit
6c39d87cdf
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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 },
|
||||
|
|
Loading…
Add table
Reference in a new issue