From 4de4298ffdb05455aa936ca0a91c7f7742f8c2be Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 5 Dec 2018 05:44:33 +0530 Subject: Map ^I to context cycle --- src/nnn.c | 4 ++-- src/nnn.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/nnn.c b/src/nnn.c index 7fed1d5..53186b3 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -2023,9 +2023,9 @@ static int show_help(char *path) "2End, G, $, ^E Last entry & Start dir\n" "1←, Bksp, h, ^H Parent dir - Last visited dir\n" "4→, ↵, l, ^M Open file/enter dir . Toggle show hidden\n" - "e/ Filter Ins, ^I Toggle nav-as-you-type\n" + "e/ Filter Ins, ^T Toggle nav-as-you-type\n" "eb Pin current dir ^W Go to pinned dir\n" - "8Tab, ^T Next context d Toggle detail view\n" + "8Tab, ^I Next context d Toggle detail view\n" "a`, ^/ Leader key LeaderN Go to/create context N\n" "cEsc Exit prompt ^L Redraw, clear prompt\n" "d^G Quit and cd q Quit context\n" diff --git a/src/nnn.h b/src/nnn.h index 2b34e8f..f851ad0 100644 --- a/src/nnn.h +++ b/src/nnn.h @@ -145,6 +145,7 @@ static struct key bindings[] = { { '`', SEL_LEADER }, /* Cycle contexts in forward direction */ { '\t', SEL_CYCLE }, + { CONTROL('I'), SEL_CYCLE }, /* Mark a path to visit later */ { 'b', SEL_PIN }, /* Visit marked directory */ -- cgit v1.2.3-70-g09d2