aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-01-19 12:31:25 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-01-19 12:31:25 +0530
commit5e4810b382e1c4bb64893d45c28333898f787cca (patch)
tree52d52b012dc23b2ee30a123fecf275a7333e63ec /src
parent91a31dc61df6868e6b1cd5d4f69cc3b78377cf4b (diff)
downloadnnn-5e4810b382e1c4bb64893d45c28333898f787cca.tar.gz
Remove keys ^, $
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c8
-rw-r--r--src/nnn.h2
2 files changed, 4 insertions, 6 deletions
diff --git a/src/nnn.c b/src/nnn.c
index ff770c9..5062f16 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2093,10 +2093,10 @@ 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"
-"1Home, g, ^, ^A First entry ~ Go HOME\n"
- "2End, G, $, ^E Last entry & Start dir\n"
-"1←, Bksp, h, ^H Parent dir - Last visited dir\n"
- "4→, ↵, l, ^M Open file/dir . Toggle show hidden\n"
+"1←, Bksp, 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"
"eb Pin current dir ^W Go to pinned dir\n"
"8Tab, ^I Next context d Toggle detail view\n"
diff --git a/src/nnn.h b/src/nnn.h
index c68d4d4..71f5c3e 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -129,12 +129,10 @@ static struct key bindings[] = {
{ KEY_HOME, SEL_HOME },
{ 'g', SEL_HOME },
{ CONTROL('A'), SEL_HOME },
- { '^', SEL_HOME },
/* Last entry */
{ KEY_END, SEL_END },
{ 'G', SEL_END },
{ CONTROL('E'), SEL_END },
- { '$', SEL_END },
/* HOME */
{ '~', SEL_CDHOME },
/* Initial directory */