From: Arun Prakash Jana <engineerarun@gmail.com>
Date: Sun, 12 Jan 2020 21:15:47 +0000 (+0530)
Subject: Key f for first file
X-Git-Tag: v2.9~30
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=341628755329d2dfd637751a982ac3dc0466c8be;p=nnn.git

Key f for first file
---

diff --git a/src/nnn.c b/src/nnn.c
index f9c995cd..c0c23b8c 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 db94f36b..7d150ed8 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 */