aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md6
-rw-r--r--nnn.16
-rw-r--r--src/nnn.c6
-rw-r--r--src/nnn.h3
4 files changed, 9 insertions, 12 deletions
diff --git a/README.md b/README.md
index 672a0f5..c1538a1 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/nnn.1 b/nnn.1
index c9b1ced..df44ea1 100644
--- a/nnn.1
+++ b/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
diff --git a/src/nnn.c b/src/nnn.c
index da903fc..edaf0cc 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -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"
diff --git a/src/nnn.h b/src/nnn.h
index adccfc6..ae165f0 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -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 },