diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-08-14 00:58:33 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-08-14 01:38:30 +0530 |
commit | 775742150cb96d3ab6d7d76fbaf8942d3caf9e2b (patch) | |
tree | 20e280798c91a42a8a275cb03c776e47ebc41f07 /src/nnn.h | |
parent | 3bd3418ab6b4f3826599d2e1ffaad723ef00c908 (diff) | |
download | nnn-775742150cb96d3ab6d7d76fbaf8942d3caf9e2b.tar.gz |
Custom keybinds to run plugins directly
Diffstat (limited to 'src/nnn.h')
-rw-r--r-- | src/nnn.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -93,6 +93,7 @@ enum action { SEL_HELP, SEL_EXEC, SEL_SHELL, + SEL_PLUGKEY, SEL_PLUGIN, SEL_LAUNCH, SEL_RUNCMD, @@ -240,6 +241,8 @@ static struct key bindings[] = { /* Run command */ { '!', SEL_SHELL }, { CONTROL(']'), SEL_SHELL }, + /* Plugin key */ + { 'x', SEL_PLUGKEY }, /* Run a plugin */ { 'R', SEL_PLUGIN }, { CONTROL('V'), SEL_PLUGIN }, |