mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Use keybind ^T to go to next context
This commit is contained in:
parent
338b3be707
commit
28eb6a6312
|
@ -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
|
||||
|
|
6
nnn.1
6
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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue