commit f21ec611cd648d7a340a7d02ad442a4fa7ac96c4
parent 336eca300a3ed466172b1ca67bc610f230267053
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Tue, 5 Feb 2019 23:58:13 +0530
Replace backquote with comma as leader key
Diffstat:
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
@@ -226,7 +226,7 @@ Press <kbd>?</kbd> 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
@@ -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
@@ -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
@@ -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 },