Make ^T shortcut for nav-as-you-type.

The code for Tab and ^I are same when capture din getch().
This commit is contained in:
Arun Prakash Jana 2018-12-05 05:21:22 +05:30
parent 7ae6e481bc
commit e26c21ce0b
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 2 deletions

View File

@ -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 */