aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.h
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-02-27 21:03:14 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-02-28 22:36:54 +0530
commit3e053e9412bedb10f2a171ddfbbd72e7432a9bda (patch)
tree21c208395ac71aae75fddefbd28ee97258239ece /src/nnn.h
parent26861532a24d32405546d9734936c0f684db9b33 (diff)
downloadnnn-3e053e9412bedb10f2a171ddfbbd72e7432a9bda.tar.gz
Wild mode for nav-as-you-type
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 a588a33..a2a858b 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -70,6 +70,7 @@ enum action {
SEL_ASIZE, /* apparent size */
SEL_BSIZE, /* block size */
SEL_MTIME,
+ SEL_WILD,
SEL_REDRAW,
SEL_COPY,
SEL_COPYMUL,
@@ -183,6 +184,8 @@ static struct key bindings[] = {
{ CONTROL('J'), SEL_BSIZE },
/* Toggle sort by time */
{ 't', SEL_MTIME },
+ /* Wild mode */
+ { CONTROL('W'), SEL_WILD },
/* Redraw window */
{ CONTROL('L'), SEL_REDRAW },
/* Copy currently selected file path */