mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
Use ^W to visit pinned directory.
Turns out ^B is also intercepted by Windows.
This commit is contained in:
parent
dbac97f893
commit
229b1eba91
|
@ -217,7 +217,7 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
|
||||||
←, 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, ^I Toggle nav-as-you-type
|
||||||
b Pin current dir ^B Go to pinned dir
|
b Pin current dir ^W Go to pinned dir
|
||||||
`, ^/ Leader key LeaderN Switch to context N
|
`, ^/ Leader key LeaderN Switch 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
|
||||||
|
|
2
nnn.1
2
nnn.1
|
@ -61,7 +61,7 @@ Change filter (more information below)
|
||||||
Toggle navigate-as-you-type mode
|
Toggle navigate-as-you-type mode
|
||||||
.It Ic b
|
.It Ic b
|
||||||
Pin current directory
|
Pin current directory
|
||||||
.It Ic ^B
|
.It Ic ^W
|
||||||
Visit pinned directory
|
Visit pinned directory
|
||||||
.It Ic `, ^/
|
.It Ic `, ^/
|
||||||
Leader key
|
Leader key
|
||||||
|
|
|
@ -1964,7 +1964,7 @@ static int show_help(char *path)
|
||||||
"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, ^I Toggle nav-as-you-type\n"
|
||||||
"eb Pin current dir ^B Go to pinned dir\n"
|
"eb Pin current dir ^W Go to pinned dir\n"
|
||||||
"a`, ^/ 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"
|
"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"
|
||||||
|
|
|
@ -155,7 +155,7 @@ static struct key bindings[] = {
|
||||||
/* Mark a path to visit later */
|
/* Mark a path to visit later */
|
||||||
{ 'b', SEL_PIN, "", "" },
|
{ 'b', SEL_PIN, "", "" },
|
||||||
/* Visit marked directory */
|
/* Visit marked directory */
|
||||||
{ CONTROL('B'), SEL_VISIT, "", "" },
|
{ CONTROL('W'), SEL_VISIT, "", "" },
|
||||||
/* Filter */
|
/* Filter */
|
||||||
{ '/', SEL_FLTR, "", "" },
|
{ '/', SEL_FLTR, "", "" },
|
||||||
/* Toggle filter mode */
|
/* Toggle filter mode */
|
||||||
|
|
Loading…
Reference in a new issue