aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.h
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-08-14 00:58:33 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-08-14 01:38:30 +0530
commit775742150cb96d3ab6d7d76fbaf8942d3caf9e2b (patch)
tree20e280798c91a42a8a275cb03c776e47ebc41f07 /src/nnn.h
parent3bd3418ab6b4f3826599d2e1ffaad723ef00c908 (diff)
downloadnnn-775742150cb96d3ab6d7d76fbaf8942d3caf9e2b.tar.gz
Custom keybinds to run plugins directly
Diffstat (limited to 'src/nnn.h')
-rw-r--r--src/nnn.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nnn.h b/src/nnn.h
index 262cc4e..7514374 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -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 },