aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-01-19 14:08:21 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-01-19 14:08:21 +0530
commit772619527f3b235cdb1b3ce13102597300fffc9c (patch)
treedcd3235c103d297590bb54342a582887183848a1 /src
parentd2ca475a4cbbd1bb4298c2c7fd306b76364ab130 (diff)
downloadnnn-772619527f3b235cdb1b3ce13102597300fffc9c.tar.gz
Remove key Backspace
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c4
-rw-r--r--src/nnn.h3
2 files changed, 2 insertions, 5 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 7130d33..923e121 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2093,8 +2093,8 @@ static bool show_help(char *path)
"1NAVIGATION\n"
"7↑, k, ^P Up PgUp, ^U Scroll up\n"
"7↓, j, ^N Down PgDn, ^D Scroll down\n"
-"1←, Bksp, h, ^H Parent dir ~ Go HOME\n"
- "4→, ↵, l, ^M Open file/dir & Start dir\n"
+ "7←, h, ^H Parent dir ~ Go HOME\n"
+ "4↵, →, l, ^M Open file/dir & Start dir\n"
"4Home, g, ^A First entry - Last visited dir\n"
"5End, G, ^E Last entry . Toggle show hidden\n"
"e/ Filter Ins, ^T Toggle nav-as-you-type\n"
diff --git a/src/nnn.h b/src/nnn.h
index ec9c2c1..0c4ea74 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -103,9 +103,6 @@ struct key {
static struct key bindings[] = {
/* Back */
- { KEY_BACKSPACE, SEL_BACK },
- { '\b' /* BS */, SEL_BACK },
- { 127 /* DEL */, SEL_BACK },
{ KEY_LEFT, SEL_BACK },
{ 'h', SEL_BACK },
{ CONTROL('H'), SEL_BACK },