mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
Map ^I to context cycle
This commit is contained in:
parent
47aa3366c2
commit
4de4298ffd
|
@ -221,9 +221,9 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
|
||||||
End, G, $, ^E Last entry & Start dir
|
End, G, $, ^E Last entry & Start dir
|
||||||
←, Bksp, h, ^H Parent dir - Last visited dir
|
←, Bksp, h, ^H Parent dir - Last visited dir
|
||||||
→, ↵, 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, ^T Toggle nav-as-you-type
|
||||||
b Pin current dir ^W Go to pinned dir
|
b Pin current dir ^W Go to pinned dir
|
||||||
Tab, ^T Next context d Toggle detail view
|
Tab, ^I Next context d Toggle detail view
|
||||||
`, ^/ Leader key LeaderN Go to/create context N
|
`, ^/ Leader key LeaderN Go to/create 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
|
||||||
|
|
4
nnn.1
4
nnn.1
|
@ -58,7 +58,7 @@ Change to the last visited directory
|
||||||
Toggle show hidden . (dot) files
|
Toggle show hidden . (dot) files
|
||||||
.It Ic /
|
.It Ic /
|
||||||
Change filter (more information below)
|
Change filter (more information below)
|
||||||
.It Ic [Insert], ^I
|
.It Ic [Insert], ^T
|
||||||
Toggle navigate-as-you-type mode
|
Toggle navigate-as-you-type mode
|
||||||
.It Ic b
|
.It Ic b
|
||||||
Pin current directory
|
Pin current directory
|
||||||
|
@ -66,7 +66,7 @@ Pin current directory
|
||||||
Visit pinned directory
|
Visit pinned directory
|
||||||
.It Ic d
|
.It Ic d
|
||||||
Toggle detail view
|
Toggle detail view
|
||||||
.It Ic Tab, ^T
|
.It Ic Tab, ^I
|
||||||
Next context, ask to create if none
|
Next context, ask to create if none
|
||||||
.It Ic `, ^/
|
.It Ic `, ^/
|
||||||
Leader key
|
Leader key
|
||||||
|
|
|
@ -2023,9 +2023,9 @@ static int show_help(char *path)
|
||||||
"2End, G, $, ^E Last entry & Start dir\n"
|
"2End, G, $, ^E Last entry & Start dir\n"
|
||||||
"1←, Bksp, h, ^H Parent dir - Last visited dir\n"
|
"1←, Bksp, h, ^H Parent dir - Last visited dir\n"
|
||||||
"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, ^T 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"
|
||||||
"8Tab, ^T Next context d Toggle detail view\n"
|
"8Tab, ^I Next context d Toggle detail view\n"
|
||||||
"a`, ^/ Leader key LeaderN Go to/create context N\n"
|
"a`, ^/ Leader key LeaderN Go to/create 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"
|
||||||
|
|
|
@ -145,6 +145,7 @@ static struct key bindings[] = {
|
||||||
{ '`', SEL_LEADER },
|
{ '`', SEL_LEADER },
|
||||||
/* Cycle contexts in forward direction */
|
/* Cycle contexts in forward direction */
|
||||||
{ '\t', SEL_CYCLE },
|
{ '\t', SEL_CYCLE },
|
||||||
|
{ CONTROL('I'), 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 */
|
||||||
|
|
Loading…
Reference in a new issue