mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 13:51:31 +00:00
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:
parent
7ae6e481bc
commit
e26c21ce0b
|
@ -145,7 +145,6 @@ static struct key bindings[] = {
|
||||||
{ '`', SEL_LEADER },
|
{ '`', SEL_LEADER },
|
||||||
/* Cycle contexts in forward direction */
|
/* Cycle contexts in forward direction */
|
||||||
{ '\t', SEL_CYCLE },
|
{ '\t', SEL_CYCLE },
|
||||||
{ CONTROL('T'), SEL_CYCLE },
|
|
||||||
/* Mark a path to visit later */
|
/* Mark a path to visit later */
|
||||||
{ 'b', SEL_PIN },
|
{ 'b', SEL_PIN },
|
||||||
/* Visit marked directory */
|
/* Visit marked directory */
|
||||||
|
@ -154,7 +153,7 @@ static struct key bindings[] = {
|
||||||
{ '/', SEL_FLTR },
|
{ '/', SEL_FLTR },
|
||||||
/* Toggle filter mode */
|
/* Toggle filter mode */
|
||||||
{ KEY_IC, SEL_MFLTR },
|
{ KEY_IC, SEL_MFLTR },
|
||||||
{ CONTROL('I'), SEL_MFLTR },
|
{ CONTROL('T'), SEL_MFLTR },
|
||||||
/* Toggle hide .dot files */
|
/* Toggle hide .dot files */
|
||||||
{ '.', SEL_TOGGLEDOT },
|
{ '.', SEL_TOGGLEDOT },
|
||||||
/* Detailed listing */
|
/* Detailed listing */
|
||||||
|
|
Loading…
Reference in a new issue