From: Arun Prakash Jana Date: Sat, 6 Jan 2018 06:28:01 +0000 (+0530) Subject: Enable extra shortcuts in navigate-as-you-type mode X-Git-Tag: v1.7~44 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=2e7722976b50ef434420f2a207dbbaf717b5bfc6;p=nnn.git Enable extra shortcuts in navigate-as-you-type mode Enabled functionality: - Copy file path (^K) - Run desktop search utility (^/) - Rename file (^R) - Open with... (^O) - Pin current directory (^B) - Visit pinned directory (^V) - Extract archive (^X) --- diff --git a/nnn.c b/nnn.c index e5dce84e..59f7e5ca 100644 --- a/nnn.c +++ b/nnn.c @@ -982,6 +982,13 @@ filterentries(char *path) case CONTROL('L'): if (len == 1) cur = oldcur; // fallthrough + case CONTROL('K'): // fallthrough + case CONTROL('O'): // fallthrough + case CONTROL('B'): // fallthrough + case CONTROL('V'): // fallthrough + case CONTROL('R'): // fallthrough + case CONTROL('X'): // fallthrough + case CONTROL('_'): // fallthrough case CONTROL('Q'): goto end; default: