aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-14 19:54:13 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-14 19:54:13 +0530
commit5b0b63e7d63956190796e1f5d258d17639441613 (patch)
tree54d6d3006bc56b0f23cbb63985da9a7f02ee5b60 /src/nnn.c
parent09083f3ed6749567c4e315a68f071811ee776f80 (diff)
downloadnnn-5b0b63e7d63956190796e1f5d258d17639441613.tar.gz
remove / as additional lead key when filter is on
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 6629d99..45aabca 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2086,11 +2086,6 @@ static int filterentries(char *path)
}
switch (*ch) {
- case '/': /* works as Leader key in filter mode */
- *ch = CONTROL('_'); // fallthrough
- if (len == 1)
- cur = oldcur;
- goto end;
case '=': // fallthrough /* Launch app */
case ';': // fallthrough /* Run plugin key */
case '?': /* Help and config key, '?' is an invalid regex */
@@ -3480,7 +3475,7 @@ static void show_help(const char *path)
"cb Pin CWD ^B Go to pinned dir\n"
"9, ^/ Lead key N LeadN Context N\n"
"6(Sh)Tab Cycle context d Detail view toggle\n"
- "c/ Filter/Lead Ins ^N Nav-as-you-type toggle\n"
+ "c/ Filter Ins ^N Nav-as-you-type toggle\n"
"aEsc Exit prompt ^L F5 Redraw/clear prompt\n"
"c. Show/hide dots ? Help, conf\n"
"9Q ^Q Quit ^G QuitCD q Quit context\n"
@@ -3499,7 +3494,7 @@ static void show_help(const char *path)
"cz Size E Extn t Time\n"
"1MISC\n"
"9! ^] Shell ; x Plugin key\n"
- "cC Execute file R ^V Pick plugin\n"
+ "cC Execute file i ^V Pick plugin\n"
"cs Manage session = Launch app\n"
"cc Connect remote u Unmount\n"
"9] ^P Prompt/run cmd L Lock\n"};