aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-13 02:45:47 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-13 02:45:47 +0530
commit341628755329d2dfd637751a982ac3dc0466c8be (patch)
tree1efdd98dd5a4bba78177a405cd862eaa6095f23c
parent16c88770b66a051a936defcc2999d8bf01a7ef28 (diff)
downloadnnn-341628755329d2dfd637751a982ac3dc0466c8be.tar.gz
Key f for first file
-rw-r--r--src/nnn.c2
-rw-r--r--src/nnn.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nnn.c b/src/nnn.c
index f9c995c..c0c23b8 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3588,7 +3588,7 @@ static void show_help(const char *path)
"9Up k Up%-16cPgUp ^U Scroll up\n"
"9Dn j Down%-14cPgDn ^D Scroll down\n"
"9Lt h Parent%-12c~ ` @ - HOME, /, start, last\n"
- "5Ret Rt l Open%-20c' First file\n"
+ "5Ret Rt l Open%-20cf First file\n"
"9g ^A Top%-21c. Toggle hidden\n"
"9G ^E End%-21cL Lock terminal\n"
"9b ^/ Bookmark key%-12c, Pin CWD\n"
diff --git a/src/nnn.h b/src/nnn.h
index db94f36..7d150ed 100644
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -146,7 +146,7 @@ static struct key bindings[] = {
{ 'G', SEL_END },
{ CONTROL('E'), SEL_END },
/* Go to first file */
- { '\'', SEL_FIRST },
+ { 'f', SEL_FIRST },
/* HOME */
{ '~', SEL_CDHOME },
/* Initial directory */