aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-10-05 07:06:32 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-10-05 07:06:32 +0530
commit2f4144b0bd6832b183899202f4c3a20d8dc95f66 (patch)
tree22c1b0e63bce28c6cc8881554a494d20f3cbc427
parent14c355bacf647a7e9d7ff719568fa1e11ee049fd (diff)
downloadnnn-2f4144b0bd6832b183899202f4c3a20d8dc95f66.tar.gz
Key ^N replaces ^T to toggle nav mode
-rw-r--r--README.md2
-rw-r--r--src/nnn.c2
-rw-r--r--src/nnn.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 21b3429..703c0bb 100644
--- a/README.md
+++ b/README.md
@@ -198,7 +198,7 @@ The list below is from the **dev branch**. Press <kbd>?</kbd> in `nnn` to see th
b Pin current dir ^B Go to pinned dir
(Sh)Tab Cycle context d Toggle detail view
, ^/ Lead key N LeadN Context N
- / Filter/Lead Ins ^T Toggle nav-as-you-type
+ / Filter/Lead Ins ^N Toggle nav-as-you-type
Esc Exit prompt ^L F5 Redraw/clear prompt
? Help, conf ' Lead' First file
Q ^Q Quit ^G QuitCD q Quit context
diff --git a/src/nnn.c b/src/nnn.c
index 9bc8591..bcb500f 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2825,7 +2825,7 @@ static void show_help(const char *path)
"cb Pin current dir ^B Go to pinned dir\n"
"6(Sh)Tab Next context d Toggle detail view\n"
"9, ^/ Lead key N LeadN Context N\n"
- "c/ Filter/Lead Ins ^T Toggle nav-as-you-type\n"
+ "c/ Filter/Lead Ins ^N Toggle nav-as-you-type\n"
"aEsc Exit prompt ^L F5 Redraw/clear prompt\n"
"c? Help, conf ' Lead' First file\n"
"9Q ^Q Quit ^G QuitCD q Quit context\n"
diff --git a/src/nnn.h b/src/nnn.h
index ad6a026..19a9587 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -173,7 +173,7 @@ static struct key bindings[] = {
{ '/', SEL_FLTR },
/* Toggle filter mode */
{ KEY_IC, SEL_MFLTR },
- { CONTROL('T'), SEL_MFLTR },
+ { CONTROL('N'), SEL_MFLTR },
/* Toggle hide .dot files */
{ '.', SEL_TOGGLEDOT },
/* Detailed listing */