mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41: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
|
||||
↑, k, ^P Up PgUp, ^U Scroll up
|
||||
↓, j, ^N Down PgDn, ^D Scroll down
|
||||
←, h, ^H Parent dir ~ Go HOME
|
||||
↑, k Up PgUp, ^U Scroll up
|
||||
↓, j Down PgDn, ^D Scroll down
|
||||
←, h Parent dir ~ Go HOME
|
||||
↵, →, l, ^M Open file/dir & Start dir
|
||||
Home, g, ^A First entry - Last visited dir
|
||||
End, G, ^E Last entry . Toggle show hidden
|
||||
|
|
6
nnn.1
6
nnn.1
|
@ -29,11 +29,11 @@ is not specified.
|
|||
NAVIGATION
|
||||
.Pp
|
||||
.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
|
||||
.It Ic [Down], j, ^N
|
||||
.It Ic [Down], j
|
||||
Move to next entry
|
||||
.It Ic [Left], h, ^H
|
||||
.It Ic [Left], h
|
||||
Go to parent directory
|
||||
.It Ic [Right], [Enter], l, ^M
|
||||
Open file or enter directory
|
||||
|
|
|
@ -2257,9 +2257,9 @@ static bool show_help(char *path)
|
|||
static char helpstr[] = {
|
||||
"0\n"
|
||||
"1NAVIGATION\n"
|
||||
"5↑, k, ^P Up PgUp, ^U Scroll up\n"
|
||||
"5↓, j, ^N Down PgDn, ^D Scroll down\n"
|
||||
"5←, h, ^H Parent dir ~ Go HOME\n"
|
||||
"9↑, k Up PgUp, ^U Scroll up\n"
|
||||
"9↓, j Down PgDn, ^D Scroll down\n"
|
||||
"9←, h Parent dir ~ Go HOME\n"
|
||||
"2↵, →, l, ^M Open file/dir & Start dir\n"
|
||||
"2Home, g, ^A First entry - Last visited dir\n"
|
||||
"3End, G, ^E Last entry . Toggle show hidden\n"
|
||||
|
|
|
@ -106,7 +106,6 @@ static struct key bindings[] = {
|
|||
/* Back */
|
||||
{ KEY_LEFT, SEL_BACK },
|
||||
{ 'h', SEL_BACK },
|
||||
{ CONTROL('H'), SEL_BACK },
|
||||
/* Inside or select */
|
||||
{ KEY_ENTER, SEL_GOIN },
|
||||
{ '\r', SEL_GOIN },
|
||||
|
@ -116,11 +115,9 @@ static struct key bindings[] = {
|
|||
/* Next */
|
||||
{ 'j', SEL_NEXT },
|
||||
{ KEY_DOWN, SEL_NEXT },
|
||||
{ CONTROL('N'), SEL_NEXT },
|
||||
/* Previous */
|
||||
{ 'k', SEL_PREV },
|
||||
{ KEY_UP, SEL_PREV },
|
||||
{ CONTROL('P'), SEL_PREV },
|
||||
/* Page down */
|
||||
{ KEY_NPAGE, SEL_PGDN },
|
||||
{ CONTROL('D'), SEL_PGDN },
|
||||
|
|
Loading…
Reference in a new issue