Use keybind ^T to go to next context

This commit is contained in:
Arun Prakash Jana 2018-11-27 18:37:31 +05:30
parent 338b3be707
commit 28eb6a6312
No known key found for this signature in database
GPG Key ID: A75979F35C080412
4 changed files with 6 additions and 6 deletions

View File

@ -221,7 +221,7 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
→, ↵, l, ^M Open file/enter dir . Toggle show hidden →, ↵, l, ^M Open file/enter dir . Toggle show hidden
/ Filter Ins, ^I Toggle nav-as-you-type / Filter Ins, ^I Toggle nav-as-you-type
b Pin current dir ^W Go to pinned dir 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 `, ^/ Leader key LeaderN Go to context N
Esc Exit prompt ^L Redraw, clear prompt Esc Exit prompt ^L Redraw, clear prompt
^G Quit and cd q Quit context ^G Quit and cd q Quit context

6
nnn.1
View File

@ -64,7 +64,9 @@ Toggle navigate-as-you-type mode
Pin current directory Pin current directory
.It Ic ^W .It Ic ^W
Visit pinned directory Visit pinned directory
.It Ic ^B .It Ic d
Toggle detail view
.It Ic ^T
Next active context Next active context
.It Ic `, ^/ .It Ic `, ^/
Leader key Leader key
@ -93,8 +95,6 @@ Open with an application
Create a new file or directory Create a new file or directory
.It Ic D .It Ic D
Show entry details Show entry details
.It Ic d
Toggle detail view
.It Ic ^R .It Ic ^R
Rename selected entry Rename selected entry
.It Ic r .It Ic r

View File

@ -1965,7 +1965,7 @@ static int show_help(char *path)
"4→, ↵, l, ^M Open file/enter dir . Toggle show hidden\n" "4→, ↵, l, ^M Open file/enter dir . Toggle show hidden\n"
"e/ Filter Ins, ^I Toggle nav-as-you-type\n" "e/ Filter Ins, ^I Toggle nav-as-you-type\n"
"eb Pin current dir ^W Go to pinned dir\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" "a`, ^/ Leader key LeaderN Go to context N\n"
"cEsc Exit prompt ^L Redraw, clear prompt\n" "cEsc Exit prompt ^L Redraw, clear prompt\n"
"d^G Quit and cd q Quit context\n" "d^G Quit and cd q Quit context\n"

View File

@ -154,7 +154,7 @@ static struct key bindings[] = {
{ CONTROL('_'), SEL_LEADER, "", "" }, { CONTROL('_'), SEL_LEADER, "", "" },
{ '`', SEL_LEADER, "", "" }, { '`', SEL_LEADER, "", "" },
/* Cycle contexts in forward direction */ /* Cycle contexts in forward direction */
{ CONTROL('B'), SEL_CYCLE, "", "" }, { CONTROL('T'), SEL_CYCLE, "", "" },
/* Mark a path to visit later */ /* Mark a path to visit later */
{ 'b', SEL_PIN, "", "" }, { 'b', SEL_PIN, "", "" },
/* Visit marked directory */ /* Visit marked directory */