aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-27 18:37:31 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-27 18:37:31 +0530
commit28eb6a631296c625d37d0675273779b759b02768 (patch)
tree412c66f5a64aaefd324e889ff5a272b3e7bb8610
parent338b3be7071a164289639cec7bde305ffcc51891 (diff)
downloadnnn-28eb6a631296c625d37d0675273779b759b02768.tar.gz
Use keybind ^T to go to next context
-rw-r--r--README.md2
-rw-r--r--nnn.16
-rw-r--r--src/nnn.c2
-rw-r--r--src/nnn.h2
4 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 6faccaa..4e0c675 100644
--- a/README.md
+++ b/README.md
@@ -221,7 +221,7 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
→, ↵, l, ^M Open file/enter dir . Toggle show hidden
/ Filter Ins, ^I Toggle nav-as-you-type
b Pin current dir ^W Go to pinned dir
- d Toggle detail view ^B Next active context
+ d Toggle detail view ^T Next active context
`, ^/ Leader key LeaderN Go to context N
Esc Exit prompt ^L Redraw, clear prompt
^G Quit and cd q Quit context
diff --git a/nnn.1 b/nnn.1
index 1379f80..998529c 100644
--- a/nnn.1
+++ b/nnn.1
@@ -64,7 +64,9 @@ Toggle navigate-as-you-type mode
Pin current directory
.It Ic ^W
Visit pinned directory
-.It Ic ^B
+.It Ic d
+Toggle detail view
+.It Ic ^T
Next active context
.It Ic `, ^/
Leader key
@@ -93,8 +95,6 @@ Open with an application
Create a new file or directory
.It Ic D
Show entry details
-.It Ic d
-Toggle detail view
.It Ic ^R
Rename selected entry
.It Ic r
diff --git a/src/nnn.c b/src/nnn.c
index 6904567..e7733a9 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -1965,7 +1965,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 ^W Go to pinned dir\n"
- "ed Toggle detail view ^B Next active context\n"
+ "ed Toggle detail view ^T Next active context\n"
"a`, ^/ Leader key LeaderN Go to 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 f6c8a14..03b3040 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -154,7 +154,7 @@ static struct key bindings[] = {
{ CONTROL('_'), SEL_LEADER, "", "" },
{ '`', SEL_LEADER, "", "" },
/* Cycle contexts in forward direction */
- { CONTROL('B'), SEL_CYCLE, "", "" },
+ { CONTROL('T'), SEL_CYCLE, "", "" },
/* Mark a path to visit later */
{ 'b', SEL_PIN, "", "" },
/* Visit marked directory */