aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.h
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-12 16:19:34 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-12 16:23:00 +0530
commit69aeeb51d249736c37ea6aa095be4ffb020731d8 (patch)
tree3e08ffa91eaef27b07d8249678c598dbaf718d08 /src/nnn.h
parent99c1bdd2b7985483d097ddcb15e167e8a67bdb0f (diff)
downloadnnn-69aeeb51d249736c37ea6aa095be4ffb020731d8.tar.gz
GUI app launcher with drop-down menu
`nlauncher` is POSIX compliant. It needs `fzy`.
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 a2a858b..dadbde6 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -88,6 +88,7 @@ enum action {
SEL_EXEC,
SEL_SHELL,
SEL_SCRIPT,
+ SEL_LAUNCH,
SEL_RUNCMD,
SEL_RUNEDIT,
SEL_RUNPAGE,
@@ -224,6 +225,8 @@ static struct key bindings[] = {
/* Run a custom script */
{ 'R', SEL_SCRIPT },
{ CONTROL('V'), SEL_SCRIPT },
+ /* Launcher */
+ { '=', SEL_LAUNCH },
/* Run a command */
{ CONTROL('P'), SEL_RUNCMD },
/* Open in EDITOR or PAGER */