From 2e7722976b50ef434420f2a207dbbaf717b5bfc6 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sat, 6 Jan 2018 11:58:01 +0530 Subject: [PATCH] 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) --- nnn.c | 7 +++++++ 1 file changed, 7 insertions(+) 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: