aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-12-05 05:21:22 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-12-05 05:21:22 +0530
commite26c21ce0bcba15f547a134edb7087512c876671 (patch)
tree4ca27908460145e0b384977b0da82a7772c46e86
parent7ae6e481bcf881f7645e7c051732c1690e6c7e90 (diff)
downloadnnn-e26c21ce0bcba15f547a134edb7087512c876671.tar.gz
Make ^T shortcut for nav-as-you-type.
The code for Tab and ^I are same when capture din getch().
-rw-r--r--src/nnn.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nnn.h b/src/nnn.h
index aeccd4f..2b34e8f 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -145,7 +145,6 @@ static struct key bindings[] = {
{ '`', SEL_LEADER },
/* Cycle contexts in forward direction */
{ '\t', SEL_CYCLE },
- { CONTROL('T'), SEL_CYCLE },
/* Mark a path to visit later */
{ 'b', SEL_PIN },
/* Visit marked directory */
@@ -154,7 +153,7 @@ static struct key bindings[] = {
{ '/', SEL_FLTR },
/* Toggle filter mode */
{ KEY_IC, SEL_MFLTR },
- { CONTROL('I'), SEL_MFLTR },
+ { CONTROL('T'), SEL_MFLTR },
/* Toggle hide .dot files */
{ '.', SEL_TOGGLEDOT },
/* Detailed listing */