From f21ec611cd648d7a340a7d02ad442a4fa7ac96c4 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 5 Feb 2019 23:58:13 +0530 Subject: [PATCH] Replace backquote with comma as leader key --- README.md | 2 +- nnn.1 | 2 +- src/nnn.c | 2 +- src/nnn.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5c8012ea..c0e69d33 100644 --- a/README.md +++ b/README.md @@ -226,7 +226,7 @@ Press ? in `nnn` to see the list anytime. / Filter Ins ^T Toggle nav-as-you-type b Pin current dir ^B Go to pinned dir Tab ^I Next context d Toggle detail view - ` ^/ Leader key N LeadN Go to/create context N + , ^/ Leader key N LeadN Go to/create context N Esc Exit prompt ^L Redraw/clear prompt ^G Quit and cd q Quit context Q ^Q Quit ? Help, config diff --git a/nnn.1 b/nnn.1 index b81aa066..3640ff90 100644 --- a/nnn.1 +++ b/nnn.1 @@ -65,7 +65,7 @@ Visit pinned directory Toggle detail view .It Ic Tab, ^I Next context, ask to create if none -.It Ic `, ^/ +.It Ic ,, ^/ Leader key .It Ic N, LeaderN Switch to context N diff --git a/src/nnn.c b/src/nnn.c index 60de8015..770ad399 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -2382,7 +2382,7 @@ static bool show_help(char *path) "c/ Filter Ins ^T Toggle nav-as-you-type\n" "cb Pin current dir ^B Go to pinned dir\n" "7Tab ^I Next context d Toggle detail view\n" - "9` ^/ Leader key N LeadN Go to/create context N\n" + "9, ^/ Leader key N LeadN Go to/create context N\n" "aEsc Exit prompt ^L Redraw/clear prompt\n" "b^G Quit and cd q Quit context\n" "9Q ^Q Quit ? Help, config\n" diff --git a/src/nnn.h b/src/nnn.h index b4ba6f21..0983c5fc 100644 --- a/src/nnn.h +++ b/src/nnn.h @@ -143,7 +143,7 @@ static struct key bindings[] = { { CONTROL('B'), SEL_VISIT }, /* Leader key */ { CONTROL('_'), SEL_LEADER }, - { '`', SEL_LEADER }, + { ',', SEL_LEADER }, /* Cycle contexts in forward direction */ { '\t', SEL_CYCLE }, { CONTROL('I'), SEL_CYCLE },