From 2f4144b0bd6832b183899202f4c3a20d8dc95f66 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sat, 5 Oct 2019 07:06:32 +0530 Subject: [PATCH] Key ^N replaces ^T to toggle nav mode --- README.md | 2 +- src/nnn.c | 2 +- src/nnn.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 21b3429f..703c0bb5 100644 --- a/README.md +++ b/README.md @@ -198,7 +198,7 @@ The list below is from the **dev branch**. Press ? 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 9bc8591c..bcb500f3 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 ad6a0262..19a95873 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 */