aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c4
-rw-r--r--src/nnn.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 03b421c..bcc54b2 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -1371,7 +1371,7 @@ static int parsebmstr()
++bms;
/*
- * Use single-char keys to use ^B like vim Leader key.
+ * Use single-char keys to combine with Leader key.
* Fail here to ensure keys are single char.
* To support multiple char keys remove the return
* and add appropriate check to enable smart-detect.
@@ -1976,7 +1976,7 @@ static int show_help(char *path)
"4→, ↵, l, ^M Open file/enter dir . Toggle show hidden\n"
"e/ Filter Ins, ^I Toggle nav-as-you-type\n"
"eb Pin current dir ^V Go to pinned dir\n"
- "d^B Leader key LeaderN Switch to context N\n"
+ "a`, ^/ Leader key LeaderN Switch to context N\n"
"cEsc Exit prompt ^L Redraw, clear prompt\n"
"d^G Quit and cd q Quit context\n"
"aQ, ^Q Quit ? Help, settings\n"
diff --git a/src/nnn.h b/src/nnn.h
index b98592d..9e2ce90 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -150,7 +150,8 @@ static struct key bindings[] = {
/* Last visited dir */
{ '-', SEL_CDLAST, "", "" },
/* Leader key */
- { CONTROL('B'), SEL_LEADER, "", "" },
+ { CONTROL('_'), SEL_LEADER, "", "" },
+ { '`', SEL_LEADER, "", "" },
/* Mark a path to visit later */
{ 'b', SEL_PIN, "", "" },
/* Visit marked directory */