mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 13:51:31 +00:00
Remove shortcuts ^H, ^N, ^P
This commit is contained in:
parent
cd3124605d
commit
80f4f54078
|
@ -213,9 +213,9 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
|
||||||
|
|
||||||
```
|
```
|
||||||
NAVIGATION
|
NAVIGATION
|
||||||
↑, k, ^P Up PgUp, ^U Scroll up
|
↑, k Up PgUp, ^U Scroll up
|
||||||
↓, j, ^N Down PgDn, ^D Scroll down
|
↓, j Down PgDn, ^D Scroll down
|
||||||
←, h, ^H Parent dir ~ Go HOME
|
←, h Parent dir ~ Go HOME
|
||||||
↵, →, l, ^M Open file/dir & Start dir
|
↵, →, l, ^M Open file/dir & Start dir
|
||||||
Home, g, ^A First entry - Last visited dir
|
Home, g, ^A First entry - Last visited dir
|
||||||
End, G, ^E Last entry . Toggle show hidden
|
End, G, ^E Last entry . Toggle show hidden
|
||||||
|
|
6
nnn.1
6
nnn.1
|
@ -29,11 +29,11 @@ is not specified.
|
||||||
NAVIGATION
|
NAVIGATION
|
||||||
.Pp
|
.Pp
|
||||||
.Bl -tag -width "l, [Right], [Return] or C-mXXXX" -offset indent -compact
|
.Bl -tag -width "l, [Right], [Return] or C-mXXXX" -offset indent -compact
|
||||||
.It Ic [Up], k, ^P
|
.It Ic [Up], k
|
||||||
Move to previous entry
|
Move to previous entry
|
||||||
.It Ic [Down], j, ^N
|
.It Ic [Down], j
|
||||||
Move to next entry
|
Move to next entry
|
||||||
.It Ic [Left], h, ^H
|
.It Ic [Left], h
|
||||||
Go to parent directory
|
Go to parent directory
|
||||||
.It Ic [Right], [Enter], l, ^M
|
.It Ic [Right], [Enter], l, ^M
|
||||||
Open file or enter directory
|
Open file or enter directory
|
||||||
|
|
|
@ -2257,9 +2257,9 @@ static bool show_help(char *path)
|
||||||
static char helpstr[] = {
|
static char helpstr[] = {
|
||||||
"0\n"
|
"0\n"
|
||||||
"1NAVIGATION\n"
|
"1NAVIGATION\n"
|
||||||
"5↑, k, ^P Up PgUp, ^U Scroll up\n"
|
"9↑, k Up PgUp, ^U Scroll up\n"
|
||||||
"5↓, j, ^N Down PgDn, ^D Scroll down\n"
|
"9↓, j Down PgDn, ^D Scroll down\n"
|
||||||
"5←, h, ^H Parent dir ~ Go HOME\n"
|
"9←, h Parent dir ~ Go HOME\n"
|
||||||
"2↵, →, l, ^M Open file/dir & Start dir\n"
|
"2↵, →, l, ^M Open file/dir & Start dir\n"
|
||||||
"2Home, g, ^A First entry - Last visited dir\n"
|
"2Home, g, ^A First entry - Last visited dir\n"
|
||||||
"3End, G, ^E Last entry . Toggle show hidden\n"
|
"3End, G, ^E Last entry . Toggle show hidden\n"
|
||||||
|
|
|
@ -106,7 +106,6 @@ static struct key bindings[] = {
|
||||||
/* Back */
|
/* Back */
|
||||||
{ KEY_LEFT, SEL_BACK },
|
{ KEY_LEFT, SEL_BACK },
|
||||||
{ 'h', SEL_BACK },
|
{ 'h', SEL_BACK },
|
||||||
{ CONTROL('H'), SEL_BACK },
|
|
||||||
/* Inside or select */
|
/* Inside or select */
|
||||||
{ KEY_ENTER, SEL_GOIN },
|
{ KEY_ENTER, SEL_GOIN },
|
||||||
{ '\r', SEL_GOIN },
|
{ '\r', SEL_GOIN },
|
||||||
|
@ -116,11 +115,9 @@ static struct key bindings[] = {
|
||||||
/* Next */
|
/* Next */
|
||||||
{ 'j', SEL_NEXT },
|
{ 'j', SEL_NEXT },
|
||||||
{ KEY_DOWN, SEL_NEXT },
|
{ KEY_DOWN, SEL_NEXT },
|
||||||
{ CONTROL('N'), SEL_NEXT },
|
|
||||||
/* Previous */
|
/* Previous */
|
||||||
{ 'k', SEL_PREV },
|
{ 'k', SEL_PREV },
|
||||||
{ KEY_UP, SEL_PREV },
|
{ KEY_UP, SEL_PREV },
|
||||||
{ CONTROL('P'), SEL_PREV },
|
|
||||||
/* Page down */
|
/* Page down */
|
||||||
{ KEY_NPAGE, SEL_PGDN },
|
{ KEY_NPAGE, SEL_PGDN },
|
||||||
{ CONTROL('D'), SEL_PGDN },
|
{ CONTROL('D'), SEL_PGDN },
|
||||||
|
|
Loading…
Reference in a new issue