aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-01-23 21:33:43 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-01-23 21:33:43 +0530
commit80f4f54078a5c8617cd5e9ff1d2503cf9a3e269e (patch)
tree1aab70561baabbeccb6db59931b1f1917f533dcc /src
parentcd3124605d75a9e2f136c591ce219415817a3a01 (diff)
downloadnnn-80f4f54078a5c8617cd5e9ff1d2503cf9a3e269e.tar.gz
Remove shortcuts ^H, ^N, ^P
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c6
-rw-r--r--src/nnn.h3
2 files changed, 3 insertions, 6 deletions
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 },