]> Sergey Matveev's repositories - nnn.git/commitdiff
Enable file extract in nav-as-you-type mode
authorArun Prakash Jana <engineerarun@gmail.com>
Sat, 24 Feb 2018 05:13:06 +0000 (10:43 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sat, 24 Feb 2018 05:13:06 +0000 (10:43 +0530)
nnn.c

diff --git a/nnn.c b/nnn.c
index e7e791b3cf0ca004964fc6ab124907a202d1859c..1161de74c7b3bd938f31ebc366c6e63db50c6bab 100644 (file)
--- a/nnn.c
+++ b/nnn.c
@@ -1125,6 +1125,7 @@ filterentries(char *path)
                                goto end;
                        case CONTROL('L'): // fallthrough
                        case CONTROL('K'): // fallthrough
+                       case CONTROL('Y'): // fallthrough
                        case CONTROL('_'): // fallthrough
                        case CONTROL('R'): // fallthrough
                        case CONTROL('O'): // fallthrough
@@ -1132,7 +1133,7 @@ filterentries(char *path)
                        case CONTROL('V'): // fallthrough
                        case CONTROL('J'): // fallthrough
                        case CONTROL('X'): // fallthrough
-                       case CONTROL('Y'): // fallthrough
+                       case CONTROL('F'): // fallthrough
                        case CONTROL('T'):
                                if (len == 1)
                                        cur = oldcur;