aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-02-05 23:58:13 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-02-05 23:58:13 +0530
commitf21ec611cd648d7a340a7d02ad442a4fa7ac96c4 (patch)
tree6c20b1ec1f66071eb6669cfdc9d1a0d0896517bf
parent336eca300a3ed466172b1ca67bc610f230267053 (diff)
downloadnnn-f21ec611cd648d7a340a7d02ad442a4fa7ac96c4.tar.gz
Replace backquote with comma as leader key
-rw-r--r--README.md2
-rw-r--r--nnn.12
-rw-r--r--src/nnn.c2
-rw-r--r--src/nnn.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 5c8012e..c0e69d3 100644
--- 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
index b81aa06..3640ff9 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 60de801..770ad39 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 b4ba6f2..0983c5f 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 },